Package Data | |
---|---|
Maintainer Username: | kevinongko |
Maintainer Contact: | kevin.ongko@gmail.com (Kevin Ongko) |
Package Create Date: | 2016-11-24 |
Package Last Update: | 2017-07-11 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 15:00:29 |
Package Statistics | |
---|---|
Total Downloads: | 10 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Opinionated modular structure for Laravel
Install through composer by running this command:
$ composer require kevinongko/laravel-genode
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"
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"
]
}
}
Create new module:
$ php artisan module:new
Enable modules in config/module.php
'active' => [
'Module1',
'Module2
],
Laravel Genode is open-sourced software licensed under the MIT license