laravel-modules maintained by abndevs
Description
Laravel Module management
Authors
Last update
2023/01/25 22:44
(dev-main)
License
Downloads
7
Laravel-Modules
| Laravel | laravel-modules |
|---|---|
| 9.0 | ^1.0 |
Install
To install through Composer, by run the following command:
composer require abndevs/laravel-modules
The package will automatically register a service provider and alias.
Optionally, publish the package's configuration file by running:
php artisan vendor:publish --provider="AbnDevs\Modules\LaravelModulesServiceProvider"
Autoloading
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/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
}
Tip: don't forget to run composer dump-autoload afterwards.
Documentation
You'll find installation instructions and full documentation on https://docs.laravelmodules.com/.
Credits
About Bishwajit Adhikary
Bishwajit Adhikary is a freelance web developer specialising on the Laravel framework. View all my packages on my website.
License
The MIT License (MIT). Please see License File for more information.