kevinongko/laravel-genode
Composer 安装命令:
composer require kevinongko/laravel-genode
包简介
Opinionated modular structure for Laravel
README 文档
README
Opinionated modular structure for Laravel
Installation
Composer
Install through composer by running this command:
$ composer require kevinongko/laravel-genode
Service Provider
Add the following code to service providers in config/app.php
'providers' => [ KevinOngko\LaravelGenode\LaravelGenodeServiceProvider::class, ],
Publish the package configuration by running this command:
$ php artisan vendor:publish --provider="KevinOngko\LaravelGenode\LaravelGenodeServiceProvider"
Autoload Modules
Laravel Genode is using wikimedia/composer-merge-plugin to autoload modules, add this to your project's composer.json
"extra": { "merge-plugin": { "include": [ "modules/*/composer.json" ] } }
Usage
Create new module:
$ php artisan module:new
Enable modules in config/module.php
'active' => [ 'Module1', 'Module2 ],
License
Laravel Genode is open-sourced software licensed under the MIT license
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-24