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

v4.2.0 2025-11-20 18:52 UTC

README

Latest Version on Packagist

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.