Appearance
Introduction
Welcome to Module Manager (MM) documentation. This documentation is intended to help you get started with MM and provide you with the information you need to get the most out of it.
Package Installation
To install the Module Manager, follow these steps:
1. Add the package to composer.json
Modify your composer.json
file to include the repman repository:
json
{
"repositories": [
{ "type": "composer", "url": "https://e2tmk.repo.repman.io" }
]
}
Run the following command to add the package:
bash
composer require e2tmk/module-manager
2. Run the Post-Install Command
After installation, run the following command to complete the setup:
bash
php artisan mm:install
3. Add Plugin to Panel Providers
Add the plugin to your ***PanelProvider.php
file:
php
use ModuleManager\ModuleManager\Filament\Plugin\ModuleManagerPlugin;
public function panel(Panel $panel): Panel
{
return $panel
...
->plugin(
ModuleManagerPlugin::class,
)
...
}
TIP
Register all filament plugin inside your active modules