aashan/filament-system-settings

System Settings Store for Filament

v0.1 2024-06-23 19:28 UTC

This package is auto-updated.

Last update: 2024-10-23 20:13:40 UTC


README

This package aims to provide a minimal implementation for creating a database driven encryptable key value storage for projects using Filament.

System Settings Listing System Settings Edit Page

Installation

Installation can be done via composer. Run the following command in your laravel root directory.

composer require aashan/filament-system-settings

Registering Resource in a Panel

In app/Providers/Filament/AdminPanelProvider.php (or any other filament panel provider), add the following lines.

use Aashan\FilamentSystemSettings\SystemSetting;

class AdminPanelProvider extends PanelProvider 
{
    public function panel(Panel $panel): Panel
    {
        ... 
        return SystemSettings::register($panel);
    }
}