Lead Packages
The Playground Lead provides a sales campaign management system, with campaigns, goals, leads, opportunities, plans, regions, reports, sources, tasks, teams, and teammates, that may be utlized by a Laravel application or served as JSON from a Laravel based API or Resource.
Features:
Provides models for campaigns, goals, leads, opportunities, plans, regions, reports, sources, tasks, teams, and teammates.
playground-lead
Provides the models for playground-lead-api and playground-lead-resource.
Package Information
- Packagist
- Source on GitHub
Configuration
You can publish the configuration file with:
php artisan vendor:publish --provider="Playground\Lead\ServiceProvider" --tag playground-config
Environment Variables
Migrations
All migrations are disabled by default.
See the contents of the published config file: database/migrations - NOTE: There are four 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.
If you do not wish to publish the migrations to your application, you may use the Environment Variable:
PLAYGROUND_LEAD_LOAD_MIGRATIONSin your.env.
PLAYGROUND_LEAD_LOAD_MIGRATIONSConfig:
playground-lead.load.migrationsType:
boolDefault:
falseDescription: The loading option for migrations does not take effect if the migrations have been published to your app. The control for loading is handled in the package ServiceProvider.
You can publish the migrations file with:
php artisan vendor:publish --provider="Playground\Lead\ServiceProvider" --tag playground-migrations
Installation
NOTE: This package is required by playground-lead-api and playground-lead-resource.
composer require gammamatrix/playground-lead
playground-lead-api
Package Information
- Continuous Integration with GitHub Actions
- GitHub Actions Workflow
https://github.com/gammamatrix/playground-lead-api/blob/develop/.github/workflows/ci.yml
- Packagist
https://packagist.org/packages/gammamatrix/playground-lead-api
- Source on GitHub
API Documentation
Documentation is generated from the gammamatrix/playground-lead-api/swagger.json.
Swagger Documentation Preview
- OpenAPI Documentation Configuration
- Swagger Editor UI
- Redocly
Configuration
You can publish the configuration file with:
php artisan vendor:publish --provider="Playground\Lead\Api\ServiceProvider" --tag="playground-config"
Environment Variables
Loading
PLAYGROUND_LEAD_API_LOAD_POLICIESConfig:
playground-lead-api.load.policiesType:
boolDefault:
truePLAYGROUND_LEAD_API_LOAD_ROUTESConfig:
playground-lead-api.load.routesType:
boolDefault:
truePLAYGROUND_LEAD_API_LOAD_TRANSLATIONSConfig:
playground-lead-api.load.translationsType:
boolDefault:
true
Routes
PLAYGROUND_LEAD_API_ROUTES_CAMPAIGNSConfig:
playground-lead-api.routes.campaignsType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_GOALSConfig:
playground-lead-api.routes.goalsType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_LEADConfig:
playground-lead-api.routes.leadType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_LEADSConfig:
playground-lead-api.routes.leadsType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_OPPORTUNITIESConfig:
playground-lead-api.routes.opportunitiesType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_PLANSConfig:
playground-lead-api.routes.plansType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_REGIONSConfig:
playground-lead-api.routes.regionsType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_REPORTSConfig:
playground-lead-api.routes.reportsType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_SOURCESConfig:
playground-lead-api.routes.sourcesType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_TASKSConfig:
playground-lead-api.routes.tasksType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_TEAMSConfig:
playground-lead-api.routes.teamsType:
boolDefault:
truePLAYGROUND_LEAD_API_ROUTES_TEAMMATESConfig:
playground-lead-api.routes.teammatesType:
boolDefault:
true
Installation
NOTE: This package requires playground-lead.
composer require gammamatrix/playground-lead-api
playground-lead-resource
Provides an API and a Laravel Blade UI for the Playground Content Management System.
Package Information
- Continuous Integration with GitHub Actions
https://github.com/gammamatrix/playground-lead-resource/actions
- GitHub Actions Workflow
https://github.com/gammamatrix/playground-lead-resource/blob/develop/.github/workflows/ci.yml
- Packagist
https://packagist.org/packages/gammamatrix/playground-lead-resource
- Source on GitHub
API Documentation
Documentation is generated from the gammamatrix/playground-lead-resource/swagger.json provided in the repository.
Swagger Documentation Preview
- OpenAPI Documentation Configuration
- Swagger Editor UI
- Redocly
Configuration
You can publish the configuration file with:
php artisan vendor:publish --provider="Playground\Lead\Resource\ServiceProvider" --tag playground-config
Environment Variables
About
PLAYGROUND_LEAD_RESOURCE_ABOUTConfig:
playground-lead-resource.aboutType:
boolDefault:
trueDescription: Displays information with the artisan about command.
Loading
PLAYGROUND_LEAD_RESOURCE_LOAD_POLICIESConfig:
playground-lead-resource.load.policiesType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_LOAD_ROUTESConfig:
playground-lead-resource.load.routesType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_LOAD_TRANSLATIONSConfig:
playground-lead-resource.load.translationsType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_LOAD_VIEWSConfig:
playground-lead-resource.load.viewsType:
boolDefault:
true
Routes
PLAYGROUND_LEAD_RESOURCE_ROUTES_LEADConfig:
playground-lead-resource.routes.leadType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_CAMPAIGNSConfig:
playground-lead-resource.routes.campaignsType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_GOALSConfig:
playground-lead-resource.routes.goalsType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_LEADSConfig:
playground-lead-resource.routes.leadsType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_OPPORTUNITIESConfig:
playground-lead-resource.routes.opportunitiesType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_PLANSConfig:
playground-lead-resource.routes.plansType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_REGIONSConfig:
playground-lead-resource.routes.regionsType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_REPORTSConfig:
playground-lead-resource.routes.reportsType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_SOURCESConfig:
playground-lead-resource.routes.sourcesType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_TASKSConfig:
playground-lead-resource.routes.tasksType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_TEAMSConfig:
playground-lead-resource.routes.teamsType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_ROUTES_TEAMMATESConfig:
playground-lead-resource.routes.teammatesType:
boolDefault:
true
Sitemap
PLAYGROUND_LEAD_RESOURCE_SITEMAP_ENABLEConfig:
playground-lead-resource.sitemap.enableType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_SITEMAP_GUESTConfig:
playground-lead-resource.sitemap.guestType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_SITEMAP_USERConfig:
playground-lead-resource.sitemap.userType:
boolDefault:
truePLAYGROUND_LEAD_RESOURCE_SITEMAP_VIEWConfig:
playground-lead-resource.sitemap.viewType:
stringDefault:
playground-lead-resource::sitemapDescription: This blade file will be included on the application sitemap.
UI
PLAYGROUND_LEAD_RESOURCE_BLADEConfig:
playground-lead-resource.bladeType:
stringDefault:
playground-lead-resource::Description: Sets the view namespace for the package.
Installation
NOTE: This package requires playground-lead.
composer require gammamatrix/playground-lead-resource
site-playground-lead-angular
Note
This CSR Angular application uses Angular Material and will eventually be generated by playground-make-angular.