Module Manager & Generator for Laravel Starter
Module Manager is used to manage and generate Module for the Laravel Starter.
Laravel Starter is a CMS-like modular starter boilerplate application project, built with the latest release of Laravel. This package is preinstalled with the Laravel Starter.
| Laravel | module-manager |
|---|---|
| 12.x | ^4.0 |
| 11.x | ^2.0 |
| 10.x | ^1.0 |
You can install the package via Composer:
composer require nasirkhan/module-managerNow the Module Manager is installed and ready to use.
If you need to change the stub path and other config then use the following command to publish the config file and the module stub files.
php artisan vendor:publish --tag=module-managerTo create a project use the following command, you have to replace the MODULE_NAME with the name of the module.
php artisan module:build MODULE_NAMEYou may want to use --force option to overwrite the existing module. if you use this option, it will replace all the exisitng files with the defalut stub files.
php artisan module:build MODULE_NAME --forceTo remove a module, use the following command. This will permanently delete the module directory and remove it from the status file.
php artisan module:remove MODULE_NAMETo disable a module, use the following command. This will set the module status to false in the modules_statuses.json file.
php artisan module:disable MODULE_NAMETo enable a module, use the following command. This will set the module status to true in the modules_statuses.json file.
php artisan module:enable MODULE_NAMEcomposer testPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security-related issues, please email nasir8891@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please have a look at License File for more information.