The Playground Lead is a package for Laravel applications.
This application provides the models to use the Playground Lead, a Campaign Sales Management tool.
Read more on using Playground Lead at Read the Docs: Playground Documentation.
NOTE: This package is required by:
- Playground Lead API: API without UI
- Playground Lead Resource: API with UI
Install this package, with composer, to get access to the Lead Models:
composer require gammamatrix/playground-lead
Playground Lead provides information in the artisan about
command.
Migrations are disabled by default. This package may sometimes be installed where another system handles the migrations.
See the contents of the published config file: config/playground-lead.php
You can publish the config file with:
php artisan vendor:publish --provider="Playground\Lead\ServiceProvider" --tag="playground-config"
composer cloc
➜ playground-lead git:(feature/GH-1) ✗ composer cloc
> cloc --exclude-dir=node_modules,output,vendor .
102 text files.
85 unique files.
18 files ignored.
github.com/AlDanial/cloc v 1.98 T=0.26 s (324.4 files/s, 205414.3 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JSON 13 0 0 41256
PHP 64 727 2947 8235
YAML 1 5 0 275
XML 3 0 7 215
Markdown 3 43 1 93
INI 1 3 0 12
-------------------------------------------------------------------------------
SUM: 85 778 2955 50086
-------------------------------------------------------------------------------
env() | config() | Default |
---|---|---|
PLAYGROUND_LEAD_ABOUT |
playground-lead.about |
true |
PLAYGROUND_LEAD_LOAD_MIGRATIONS |
playground-lead.load.migrations |
false |
- The loading option for migrations does not take effect if the migrations have been exported to your app. The control for loading is handled in the package ServiceProvider.
This package includes factories, models and migrations for:
All migrations are disabled by default.
See the contents of the published config file: database/migrations
- NOTE: There are 4 tables that will be created, they do have indexes and unique constraints defined; however, this release does not have the foreign key constraint migrations included at this time.
You can publish the migrations file with:
php artisan vendor:publish --provider="Playground\Lead\ServiceProvider" --tag="playground-migrations"
Tests at level 9 on:
config/
database/
src/
tests/Feature/
tests/Unit/
composer analyse
composer format
composer test
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.