gammamatrix / playground-admin
Playground: Provide the Admin models for a Playground Laravel application.
Requires
- php: ^8.2
- gammamatrix/playground: dev-develop|dev-master|dev-feature/*|^73.0@dev|^73.0
Requires (Dev)
- gammamatrix/playground-test: dev-develop|dev-master|dev-feature/*|^73.0@dev|^73.0
Suggests
- gammamatrix/playground-admin-api: Provides an API, without a UI, to interact with the models provided in this package.
- gammamatrix/playground-admin-resource: Provides a resource API and optional Blade UI to interact with the models provided in this package.
This package is auto-updated.
Last update: 2025-03-08 19:15:09 UTC
README
The Playground Admin is a package for Laravel applications.
This application provides the models to use Playground Admin, a site administration tool.
Read more on using Playground Admin at Read the Docs: Playground Documentation.
Installation
You can install the package via composer:
composer require gammamatrix/playground-admin
artisan:about
Playground Admin provides information in the artisan about
command.
Configuration
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-admin.php
You can publish the config file with:
php artisan vendor:publish --provider="Playground\Admin\ServiceProvider" --tag="playground-config"
Environment Variables
env() | config() |
---|---|
PLAYGROUND_ADMIN_LOAD_MIGRATIONS |
playground-admin.load.migrations |
- 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.
Models
This package includes factories, models and migrations for:
Migrations
All migrations are disabled by default.
See the contents of the published config file: database/migrations
- NOTE: There is 1 table that will be created.
You can publish the migrations file with:
php artisan vendor:publish --provider="Playground\Admin\ServiceProvider" --tag="playground-migrations"
Cloc
composer cloc
➜ playground-admin git:(develop) composer cloc
> cloc --exclude-dir=output,vendor .
30 text files.
22 unique files.
9 files ignored.
github.com/AlDanial/cloc v 1.98 T=0.04 s (492.7 files/s, 37173.0 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
PHP 14 103 153 708
YAML 1 5 0 275
XML 3 0 3 222
JSON 1 0 0 68
Markdown 2 39 1 68
INI 1 3 0 12
-------------------------------------------------------------------------------
SUM: 22 150 157 1353
-------------------------------------------------------------------------------
PHPStan
Tests at level 9 on:
config/
database/
src/
tests/Feature/
tests/Unit/
composer analyse
Coding Standards
composer format
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.