rupadana/filament-panel-setting

A package that can setting your panel without coding

3.0.2 2024-01-29 06:41 UTC

README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

A package that can setting your panel without coding.

Installation

You can install the package via composer:

composer require rupadana/filament-panel-setting

Publish config

php artisan vendor:publish --tag=filament-panel-setting-config
return [
    'page' => [
        'theme' => true,
        'setting' => true,
    ],
    'can_access' => [
        'role' => ['super_admin']
    ]
];

Usage

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.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.