OnbuilderX / lumen-rmbasemodule by OnbuilderX

Modular Management in Lumen
78
0
1
Package Data
Maintainer Username: OnbuilderX
Maintainer Contact: onbuilderX@gmail.com (OnBuilder XTIM)
Package Create Date: 2022-03-01
Package Last Update: 2022-11-04
Language: PHP
License: MIT
Last Refreshed: 2024-05-15 15:08:51
Package Statistics
Total Downloads: 78
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

lumen-rmbasemodule

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).