robsox/modulemanager-module
Composer 安装命令:
composer require robsox/modulemanager-module
包简介
Used to manage, install and configure Laravel modules
README 文档
README
A Module for managing Laravel modules settings, status etc
This package gives you everything you need to build and manage CRUD modules with ease. Fill in the builder form and the entire module is built for you. Once you click 'Build' you will be redirected to the index page of the new module and immediately be able to add and edit items to the new module.
Module Settings
Without requiring any database use - we created a simple way to allow the site admin to modify settings for any module.
By default, the settings form will edit and save the Module\{ModuleName}\Config\config.php file. If your module has a more complex settings requirement take note of the settings() method of the ModuleManager.
/** * If the module has its own settings method use it instead */ if (class_exists("\Modules\\".$name."\Http\Controllers\SettingsController")) { $func = "\Modules\\".$name."\Http\Controllers\SettingsController::settings"; return $func(); }
If the module does not have its own settings method the ModuleManager default will display the form.
If a module config file has values that are arrays() - add them to the protected_modules
Dashboard Screenshot
Builder Screenshot
This module manager makes full use of the great Module Package by Nwidart
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2023-05-23

