onbuilderx/lumen-rmbasemodule

Modular Management in Lumen

dev-main 2022-11-04 08:16 UTC

This package is auto-updated.

Last update: 2024-05-04 11:15:16 UTC


README

Modular Management in Lumen

Features

lumen-rmbasemodule is a lumen package which created to manage your large atomic lumen app using modules.

Install

To install through Composer, by run the following command:

composer require onbuilderx/lumen-rmbasemodule

after install complete, load the config and the service provider in bootstrap/app.php

$app->register(RmBased\Modules\LumenModulesServiceProvider::class);

By default the module classes are not loaded automatically. You can autoload your modules using psr-4. Add in your composer.json :

{
  "autoload": {
      "psr-4": {
         "App\\": "app/",
         "Modules\\": "modules/"
      }
  }
}

Tip: don't forget to run composer dump-autoload afterwards.

Documentation

You'll find installation instructions and full documentation on https://nwidart.com/laravel-modules/.

Credits

Nicolas Widart

License

The MIT License (MIT).