Playground: Provides an API and a Blade UI for interacting with Playground CMS, a Content Management System for Laravel applications.
gammamatrix/playground-cms-resource is a Laravel package for playground: provides an api and a blade ui for interacting with playground cms, a content management system for laravel applications..
It currently has 0 GitHub stars and 87 downloads on Packagist.
Install it with composer require gammamatrix/playground-cms-resource.
Discover more Laravel packages by gammamatrix
or browse all Laravel packages to compare alternatives.
Last updated
Playground: CMS Resource
This package provides an API and a Blade UI for interacting with the Playground: CMS, a model package for Laravel.
If you need a JSON API without a UI, then have a look at Playground: CMS API.
Read more on using Playground: CMS Resource at Read the Docs: Playground Documentation
A postman collection is provided in the repository: postman-playground-cms-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-cms-resource
artisan aboutPlayground provides information in the artisan about command.
You can publish the config file with:
php artisan vendor:publish --provider="Playground\Cms\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-cms-resource.php
You can publish the routes file with:
php artisan vendor:publish --provider="Playground\Cms\Resource\ServiceProvider" --tag="playground-routes"
routes/playground-cms-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-cms a Laravel package.
composer cloc
➜ playground-cms-resource git:(develop) ✗ composer cloc
241 text files.
232 unique files.
52 files ignored.
github.com/AlDanial/cloc v 2.06 T=0.08 s (2875.3 files/s, 473540.1 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JSON 84 0 0 21759
YAML 30 5 0 6359
PHP 83 999 1360 4071
Blade 18 91 0 2439
XML 13 0 7 908
Markdown 3 58 1 137
INI 1 3 0 12
-------------------------------------------------------------------------------
SUM: 232 1156 1368 35685
-------------------------------------------------------------------------------
Tests at level 10 on:
config/lang/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.