Package Data | |
---|---|
Maintainer Username: | arstoykov |
Maintainer Contact: | n.widart@gmail.com (Nicolas Widart) |
Package Create Date: | 2017-10-23 |
Package Last Update: | 2017-10-23 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-14 15:13:55 |
Package Statistics | |
---|---|
Total Downloads: | 192 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 1 |
Simplified version of laravel-modules, fit to use in Lumen 5.5
stoykov/lumen-modules
is a Lumen package which created to manage your large Lumen app using modules. Module is like a Lumen package, it has some views, controllers or models. This package is supported and tested in Lumen 5.5.
This package is a simplified version of laravel-modules with only Lumen support in mind, it has the bare minimum to be able to serve modules.
Find out why you should use this package in the article: Writing modular applications with laravel-modules.
To install through Composer, by run the following command:
composer require stoykov/lumen-modules
The package will automatically register a service provider and alias.
By default the module classes are not loaded automatically. You can autoload your modules using psr-4
. For example:
{
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/"
}
}
}
Tip: don't forget to run composer dump-autoload
afterwards.
You'll find installation instructions and full documentation on https://nwidart.com/laravel-modules/.
The MIT License (MIT). Please see License File for more information.