abndevs/laravel-modules

Laravel Module management


Keywords
module, modules, rad, laravel, abndevs, bishwajitcadhikary
License
MIT

Documentation

Laravel-Modules

Latest Version on Packagist Software License Build Status Scrutinizer Coverage Quality Score Total Downloads

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.