goodcatch / laravel-module-base
发布基础资源
dev-master
2024-04-10 05:20 UTC
Requires
- php: >=7.3
- ext-json: *
Requires (Dev)
- elendev/composer-push: *
- goodcatch/laravel-modules: ^1.0
- illuminate/support: ^8.0
- laravel/framework: ^8.0
- laravel/helpers: ^1.4.1
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-09-10 06:09:50 UTC
README
介绍
Laravel Modules Base 会覆盖路由、资源或其他文件。
借助 allenwakeup/laravel-modules 包,有机会使 Laravel 模块化。
安装
通过 Composer 安装,运行以下命令
composer require goodcatch/laravel-module-base
migration
php artisan goodcatch:table php artisan migrate php artisan goodcatch:cache
seed
php artisan goodcatch:seed base
发布文件
只需按照以下命令操作。
php artisan vendor:publish --tag=goodcatch-modules-base --force
注意:请在发布文件之前清理项目。
node
构建前端
yarn run prod
或
yarn run dev
其他操作
- 添加菜单、角色菜单映射、权限、角色权限映射
查看 权限种子文件