structure inspiration
Dans composer.json
composer require "wikimedia/composer-merge-plugin"
{ "extra": {
"merge-plugin": {
"include": [
"plugins/*/*/composer.json"
]
}
}
}
Ajout dans /bootstrap
add file plugins.php
return [
AcMarche\Support\SupportPlugin::class,
AcMarche\Security\SecurityPlugin::class,
];
Ajout dans /bootstrap/providers
return [
//....
\AcMarche\Support\Providers\SupportServiceProvider::class,
AcMarche\Security\SecurityServiceProvider::class,
];
Dans app/Providers/Filament/AdminPanelProvider
$panel->plugins([PluginManager::make()])