A package that can setting your panel without coding.
You can install the package via composer:
composer require rupadana/filament-panel-setting
php artisan vendor:publish --tag=filament-panel-setting-config
return [
'page' => [
'theme' => true,
'setting' => true,
],
'can_access' => [
'role' => ['super_admin']
]
];
Register FilamentPanelSettingPlugin
it to your panel.
use Rupadana\FilamentPanelSetting\FilamentPanelSettingPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
FilamentPanelSettingPlugin::make(),
])
}
The data will be saved at storage as a json file.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.