|
|
5 months ago | |
|---|---|---|
| src | 5 months ago | |
| .env.example | 5 months ago | |
| .gitignore | 5 months ago | |
| DEV.md | 5 months ago | |
| LICENSE.md | 5 months ago | |
| README.md | 5 months ago | |
| composer.json | 5 months ago | |
| module.json | 5 months ago | |
| start.sh | 5 months ago |
一个基于 nwidart/laravel-modules 的 Dcat Admin 演示模块,展示各种功能和最佳实践。
您可以通过 composer 安装此包:
composer require dcatadmin2/dcatadmin_demo-module
composer update dcatadmin2/dcatadmin_demo-module
安装完成后,模块将自动注册。您可以通过管理面板访问演示功能。
如果您需要自定义配置,可以发布它:
php artisan vendor:publish --tag=madmindemo-config
如果您想将此模块作为独立的 Laravel 模块进行开发:
安装 Laravel Modules 包:
composer require nwidart/laravel-modules
安装 laravel-module-installer 插件,确保模块安装到 Modules/ 目录:
composer require joshbrw/laravel-module-installer
在您的 Laravel 项目中安装此模块:
composer require dcatadmin2/dcatadmin_demo-module
php artisan module:enable dcatadmindemo
php artisan module:migrate dcatadmindemo
php artisan module:seed dcatadmindemo
composer test
如果您想将此模块发布到 Packagist 供其他开发者使用:
composer.json 中的 type 设置为 laravel-moduledcatadmin-demo-module请查看 CHANGELOG 了解最近更新的详细信息。
请查看 CONTRIBUTING 了解详情。
如果您发现任何安全问题,请发送邮件至 admin@dcatadmin.com,而不是使用问题跟踪器。
MIT 许可证 (MIT)。请查看 许可证文件 了解更多信息。