sabers/modules-manager

A Laravel package for managing modules.

dev-first 2023-10-13 11:05 UTC

This package is auto-updated.

Last update: 2024-04-13 16:07:21 UTC


README

Modules Manager is a Laravel package that simplifies the management of modules in your Laravel applications.

Installation

Require this package with composer. It is recommended to only require the package for development.

composer require sabers/modules-manager

Next, publish the package's configuration file and assets using the following Artisan command:

php artisan vendor:publish --tag="modules-manager"

After publishing the configuration, make sure to run the install command , this will setup layouts , install frnt and back end packages revolving around the tallStack

php artisan tallStack:install

After the instalation, make sure to install the required frontend dependencies and compile the assets:

npm install
npm run dev

Now, add the following line to the PSR-4 autoload section in your composer.json file:

"autoload": {
    "psr-4": {
        "Modules\\": "Modules/" // this should be added
    }
},

After adding the line, run the following command to autoload the new classmap:

composer dump-autoload