PHPackages                             branzia/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. [Admin Panels](/categories/admin)
4. /
5. branzia/settings

ActiveLibrary[Admin Panels](/categories/admin)

branzia/settings
================

A powerful FilamentPHP settings manager with dynamic schema support, .env and database storage, and a fully integrated admin panel.

00PHP

Since Jul 25Pushed 11mo agoCompare

[ Source](https://github.com/branzia/settings)[ Packagist](https://packagist.org/packages/branzia/settings)[ RSS](/packages/branzia-settings/feed)WikiDiscussions main Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Branzia Settings
================

[](#branzia-settings)

A powerful settings manager built for **FilamentPHP**, allowing you to manage `.env` and database-stored settings with a dynamic schema and beautiful admin panel.

> 🔧 Built with flexibility, extendability, and developer-friendliness in mind.

---

✨ Features
----------

[](#-features)

- ✅ Manage `.env` variables visually via Filament
- ✅ Store &amp; retrieve settings from a dedicated database table
- ✅ Create settings dynamically using reusable schema classes
- ✅ Group settings by tab, section, and sort order
- ✅ Extend existing settings using `extend()` method
- ✅ Automatically registers with Filament sidebar
- ✅ Fully customizable and modular

---

🧱 Installation
--------------

[](#-installation)

```
composer require branzia/settings
```

⚙️ Usage Defining Settings Form

Extend the Branzia\\Settings\\Contracts\\FormSchema contract in your own class:

```
namespace App\Settings;

use Branzia\Settings\Contracts\FormSchema;
use Filament\Forms;

class SiteSettings extends FormSchema
{
    public static string $tab = 'Site';
    public static string $group = 'General';
    public static int $sort = 1;

    public static function env(): array
    {
        return [
            'app.name' => 'APP_NAME',
        ];
    }

    protected static function baseSchema(): array
    {
        return [
            Forms\Components\TextInput::make('app.name')
                ->label('Site Name')
                ->required(),
        ];
    }
}
```

🔁 The env() method maps form fields to .env variables for persistence.
----------------------------------------------------------------------

[](#-the-env-method-maps-form-fields-to-env-variables-for-persistence)

🔁 Syncing to `.env` and Laravel Config
--------------------------------------

[](#-syncing-to-env-and-laravel-config)

You can link form inputs to Laravel config and environment variables by defining the `env()` method in your schema:

```
public static function env(): array
{
    return [
        'app.name' => 'APP_NAME',
        'app.debug' => 'APP_DEBUG',
        'mail.mailer' => 'MAIL_MAILER',
    ];
}
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/214987358?v=4)[Branzia](/maintainers/branzia)[@branzia](https://github.com/branzia)

---

Top Contributors

[![branzia](https://avatars.githubusercontent.com/u/214987358?v=4)](https://github.com/branzia "branzia (7 commits)")

### Embed Badge

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

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

PHPackages © 2026

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