brnbio/laravel-modules
Composer 安装命令:
composer require brnbio/laravel-modules
包简介
Modules system for laravel
README 文档
README
Easy and performant module management for laravel.
Installation
composer require brnbio/laravel-modules
php artisan vendor:publish --provider="Brnbio\LaravelModules\ServiceProvider" --tag="config"
Usage
Load module
Add module config to config/modules.php
'foo' => [ 'name' => 'Foobar', 'namespace' => 'App\Modules\Foobar', 'enabled' => true, ]
Config options
name Name of the module
namespace Namespace of the module
enabled Enable or disable the module (default: false)
seeder Seeder class name (default: null)
src Path to the module source
统计信息
- 总下载量: 841
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-18