robsox/modulemanager-module 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

Latest Stable Version Total Downloads Latest Unstable Version License

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

Screen Shot 2021-03-10 at 6 40 58 AM

Builder Screenshot

Screen Shot 2021-03-11 at 8 17 51 AM

This module manager makes full use of the great Module Package by Nwidart

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2023-05-23