Playground: Provides an API and a Blade UI for interacting with Playground Lead, a Playground Campaign and Lead Sales Management tool for Laravel applications.
gammamatrix/playground-lead-resource is a Laravel package for playground: provides an api and a blade ui for interacting with playground lead, a playground campaign and lead sales management tool for laravel applications..
It currently has 0 GitHub stars and 14 downloads on Packagist.
Install it with composer require gammamatrix/playground-lead-resource.
Discover more Laravel packages by gammamatrix
or browse all Laravel packages to compare alternatives.
Last updated
Playground: Lead Resource
This package provides an API and a Blade UI for interacting with the Playground: Lead, a model package for Laravel.
If you need a JSON API without a UI, then have a look at Playground: Lead API.
Read more on using Playground: Lead Resource at Read the Docs: Playground Documentation
A postman collection is provided in the repository: postman-playground-lead-resource.json.
This application provides OpenAPI documentation: openapi.yaml.
OpenAPI API Documentation is built with npm using Redocly.
See package.json requirements.
Install npm.
npm install
Build the documentation to generate the openapi.yaml configuration.
npm run docs
Documentation
You can install the package via composer:
composer require gammamatrix/playground-lead-resource
artisan aboutPlayground provides information in the artisan about command.
You can publish the config file with:
php artisan vendor:publish --provider="Playground\Lead\Resource\ServiceProvider" --tag="playground-config"
All routes are enabled by default. They may be disabled via environment variable or the configuration.
See the contents of the published config file: config/playground-lead-resource.php
You can publish the routes file with:
php artisan vendor:publish --provider="Playground\Lead\Resource\ServiceProvider" --tag="playground-routes"
routes/playground-lead-resourceIf you are unable or do not want to publish configuration files for this package, you may override the options via system environment variables.
Information on environment variables is available on the wiki for this package
This package requires the migrations in playground-lead a Laravel package.
composer cloc
➜ playground-lead-resource git:(develop) ✗ composer cloc
869 text files.
852 unique files.
187 files ignored.
github.com/AlDanial/cloc v 2.06 T=0.26 s (3259.1 files/s, 337951.6 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
YAML 114 5 0 31453
JSON 349 0 0 21459
PHP 324 3448 4188 17034
Blade 49 314 0 9371
XML 12 0 7 859
Markdown 3 58 1 137
INI 1 3 0 12
-------------------------------------------------------------------------------
SUM: 852 3828 4196 80325
-------------------------------------------------------------------------------
Tests at level 10 on:
config/resources/views/routes/src/tests/Feature/tests/Unit/composer analyse
Format source code:
composer format
Format blades in resources/views:
composer format-blade
npm install
Run unit tests:
composer test
Run unit and feature tests:
composer test-dev
Run unit and feature tests in parallel:
composer test-parallel
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.