nasirkhan / module-manager
Module Manager & Generator for Laravel Starter Kit (https://github.com/nasirkhan/laravel-starter)
Installs: 34 765
Dependents: 2
Suggesters: 0
Security: 0
Stars: 9
Watchers: 1
Forks: 7
Open Issues: 0
pkg:composer/nasirkhan/module-manager
Requires
- php: ^8.2
- laravel/framework: ^v12.0
- dev-main
- v4.2.0
- v4.1.0
- v4.0.0
- 3.x-dev
- v3.1.0
- v3.0.0
- 2.x-dev
- v2.7.0
- v2.6.0
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.0
- v2.1.0
- v2.0.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.0
- v0.7.0
- v0.6.0
- v0.5.0
- v0.4.0
- v0.3.0
- v0.2.0
- v0.1.0
- dev-dev
- dev-analysis-oLWxBK
- dev-analysis-9xR7Ko
- dev-analysis-3GRm71
- dev-analysis-Qleg2O
- dev-analysis-aVQKnY
This package is auto-updated.
Last update: 2025-11-20 18:54:33 UTC
README
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 |
Installation
You can install the package via Composer:
composer require nasirkhan/module-manager
Now 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-manager
Usage
To 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_NAME
You 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 --force
Remove Module
To 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_NAME
Disable Module
To 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_NAME
Enable Module
To 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_NAME
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security-related issues, please email nasir8891@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please have a look at License File for more information.