Dynamic Settings
Centralized dynamic settings system for Filament.
Author:
Andrei Feraru
Documentation
Centralized dynamic settings system for Filament with enum-driven setting management.

#Installation
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
#Quick Start
The package automatically registers two settings pages in your Filament panel:
- General Settings - Manage domain settings, logo, and favicon
- Homepage Settings - Configure homepage content, social media links, and contact information
#Basic Usage
use Feraandrei1\FilamentDynamicSettings\Models\Setting;
use Illuminate\Support\Facades\Auth;
// Create or update a setting
Setting::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;
#Documentation
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.
#Features
- Enum-driven setting names and groups for type safety
- Built-in Filament pages for General and Homepage settings
- Database-backed settings storage with user-specific support
- No third-party dependencies
- Easy to extend and customize
#Requirements
- PHP 8.1 or higher
- Filament 3.0 or higher
- Laravel 10.0 or higher
#License
MIT License
The author
From the same author
Page Preview
Custom Filament form field that renders a live Blade page preview.
Author:
Andrei Feraru
AI Chat Widget
Filament support for `openai-php/laravel`.
Author:
Andrei Feraru
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese