Centralized dynamic settings system for Filament with enum-driven setting management.

Install the package via composer:
composer require ferarandrei1/filament-dynamic-settings
Publish the migration file:
php artisan vendor:publish --tag=filament-dynamic-settings-migrations
Run the migrations:
php artisan migrate
The package automatically registers two settings pages in your Filament panel:
use Feraandrei1\FilamentDynamicSettings\Models\Setting;use Illuminate\Support\Facades\Auth;Â // Create or update a settingSetting::updateOrCreate( [ 'uploaded_by_user_id' => Auth::id(), 'group' => 'general', 'name' => 'logo', ], ['payload' => $logoData]);Â // Retrieve settings$settings = Setting::where('uploaded_by_user_id', Auth::id()) ->where('group', 'general') ->get() ->keyBy('name');Â $logo = $settings['logo']->payload ?? null;
Learn how to use and extend the package:
Using Enums for Type-Safe Settings - Learn how to use enums for type-safe setting management and how to extend them for your custom settings.
Creating Custom Settings Pages - Learn how to create custom Filament settings pages or customize the built-in ones.
MIT License