gammamatrix/playground-admin
Composer 安装命令:
composer require gammamatrix/playground-admin
包简介
Playground: Provide the Admin models for a Playground Laravel application.
README 文档
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.
统计信息
- 总下载量: 69
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-09