simplepleb / modulemanager-module
Used to manage, install and configure Laravel modules
Installs: 26
Dependents: 0
Suggesters: 6
Security: 0
Stars: 7
Watchers: 1
Forks: 1
Open Issues: 0
Type:laravel-module
Requires
- php: ^7.3.0
- nwidart/laravel-modules: ^8.0
Suggests
- joshbrw/laravel-module-installer: Makes installing and updating modules simple
- simplepleb/article-module: Complete article post and category module
- simplepleb/comment-module: Add comments to site content
- simplepleb/content-module: Manage site content and front-facing pages
- simplepleb/menumaker-module: Build dynamic menus for your front and back end
- simplepleb/tag-module: Add tags and taggables to content
- simplepleb/thememanager-module: Manage themes for front-facing and admin panels
- simplepleb/themes: A library of starter themes for your laravel project
- spatie/laravel-permission: To be able to set access by role and permissions
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