PHPackages                             nalzai35/filament-settings - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nalzai35/filament-settings

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nalzai35/filament-settings
==========================

This is my package filament-settings

v1.0.1(1y ago)013MITPHPPHP ^8.2

Since Jul 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nalzai35/filament-settings)[ Packagist](https://packagist.org/packages/nalzai35/filament-settings)[ Docs](https://github.com/nalzai35/filament-settings)[ RSS](/packages/nalzai35-filament-settings/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

Filament Settings
=================

[](#filament-settings)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4f57966c96eacbb75efbbb8828938396be1db0eadebb31c5eaec484611cc37c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e616c7a616933352f66696c616d656e742d73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nalzai35/filament-settings)[![Total Downloads](https://camo.githubusercontent.com/3a7981e630d1b62284ea9eda785c8b0d565349765b745c6f5f2dad4684a6bf5b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e616c7a616933352f66696c616d656e742d73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nalzai35/filament-settings)

This package adds a settings page in the filaments stored in your database.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require nalzai35/filament-settings
```

Add the plugin to your desired Filament panel:

```
use Nalzai35\FilamentSettings\FilamentSettingsPlugin;

class FilamentPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            // ...
            ->plugins([
                FilamentSettingsPlugin::make()
            ]);
    }
}
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="filament-settings-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-settings-config"
```

This is the contents of the published config file:

```
return [
    'database_table_name' => 'settings',
    'cache_key' => 'settings'
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-settings-views"
```

Usage
-----

[](#usage)

Create a settings page at `app/Filament/Pages/Settings/Settings.php`:

```
namespace App\Filament\Pages\Settings;

use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Nalzai35\FilamentSettings\Pages\SettingsPage;

class Settings extends SettingsPage
{
    protected static ?string $navigationIcon = 'heroicon-o-cog-6-tooth';

    public function form(Form $form): Form
    {
        return $form
                ->schema([
                    Forms\Components\Tabs::make('settings')
                        ->schema([
                            Forms\Components\Tabs\Tab::make('General')
                                ->statePath('general')
                                ->schema([
                                    Forms\Components\TextInput::make('brand_name')
                                        ->required()
                                ]),
                            Forms\Components\Tabs\Tab::make('Seo Meta')
                                ->statePath('seo_meta')
                                ->schema([
                                    Forms\Components\Section::make('Home Page')
                                        ->statePath('home_page')
                                        ->collapsible()
                                        ->schema([
                                            Forms\Components\TextInput::make('title'),
                                            Forms\Components\Textarea::make('description')
                                        ])
                                ])
                        ]),
                ])
                ->columns(1);
    }
}
```

### Retrieving settings

[](#retrieving-settings)

You can retrieve settings using the helper function `setting()`, like the `config()` function in Laravel:

```
setting('general.name');

// Retrieve a default value if the configuration value does not exist...
setting('general.name', 'Filament Settings');

// To set configuration values at runtime
setting(['general.timezone' => 'America/Chicago']);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [nalzai35](https://github.com/nalzai35)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

2

Last Release

659d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a35eb1d3f9d66b515e01241e6e23d133b1e8b78d039ea342f402f6e8e522020c?d=identicon)[nalzai35](/maintainers/nalzai35)

---

Top Contributors

[![nalzai35](https://avatars.githubusercontent.com/u/15368608?v=4)](https://github.com/nalzai35 "nalzai35 (8 commits)")

---

Tags

laravelfilament-settingsnalzai35

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/nalzai35-filament-settings/health.svg)

```
[![Health](https://phpackages.com/badges/nalzai35-filament-settings/health.svg)](https://phpackages.com/packages/nalzai35-filament-settings)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M626](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
