PHPackages                             afea/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. afea/filament-settings

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

afea/filament-settings
======================

Settings module for the Afea Filament CMS package ecosystem: Spatie Settings-backed Company, Site, Footer, Mailing and Notification settings with a Filament cluster UI.

v0.1.0(1mo ago)017↑328.6%MITPHPPHP ^8.4

Since Apr 21Pushed 1mo agoCompare

[ Source](https://github.com/AfeaSoftware/filament-settings)[ Packagist](https://packagist.org/packages/afea/filament-settings)[ RSS](/packages/afea-filament-settings/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (11)Versions (2)Used By (0)

afea/filament-settings
======================

[](#afeafilament-settings)

Settings module for the Afea Filament CMS package ecosystem.

Ships five Spatie Settings groups wired into a Filament cluster:

- **CompanySettings** — contact, address, working hours, location, social links, legal info
- **SiteSettings** — robots.txt rules + head/body script injection
- **FooterSettings** — reorderable footer link blocks
- **MailingSettings** — SMTP credentials (username + password encrypted at rest)
- **NotificationSettings** — per-event enable + channel routing + contact addresses (encrypted)

Plus:

- `EncryptedCast` — transparent Crypt-wrapped cast for sensitive Settings properties
- `SettingsCluster` — dedicated cluster with all pages mounted under it
- `AbstractSettingsPage` — drop-in base for adding custom settings pages (handles mount/save boilerplate)
- `SettingsPlugin` + `afea:install:settings`

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

[](#installation)

```
composer require afea/filament-settings
php artisan afea:install:settings
```

Register in `AdminPanelProvider`:

```
->plugin(\Afea\Cms\Settings\Filament\SettingsPlugin::make())
```

Three common scenarios
----------------------

[](#three-common-scenarios)

### 1. Disable groups you don't need

[](#1-disable-groups-you-dont-need)

```
// config/afea-settings.php
'groups' => [
    'company' => true,
    'site' => true,
    'footer' => false,       // no footer? skip.
    'mailing' => true,
    'notification' => false,
],
```

The disabled group's page is removed from the cluster **and** the Settings class is unregistered from Spatie so migrations stay inert.

### 2. Read settings anywhere

[](#2-read-settings-anywhere)

```
use Afea\Cms\Settings\Settings\CompanySettings;

$company = app(CompanySettings::class);
$company->email;
$company->working_hours;
```

### 3. Extend a Settings class with new properties

[](#3-extend-a-settings-class-with-new-properties)

```
namespace App\Settings;

class CompanySettings extends \Afea\Cms\Settings\Settings\CompanySettings
{
    public ?string $slogan = null;
}
```

```
'classes' => [
    'company' => \App\Settings\CompanySettings::class,
],
```

Then add a migration:

```
$this->migrator->add('company.slogan', null);
```

The shipped `CompanyInfoPage` picks up your overridden class automatically; add a `TextInput::make('slogan')` to the schema by subclassing the page.

Adding your own settings page
-----------------------------

[](#adding-your-own-settings-page)

```
use Afea\Cms\Settings\Filament\Pages\AbstractSettingsPage;

class BrandSettingsPage extends AbstractSettingsPage
{
    protected function settingsClass(): string
    {
        return \App\Settings\BrandSettings::class;
    }

    public function form(\Filament\Schemas\Schema $schema): \Filament\Schemas\Schema
    {
        return $schema->components([
            // ...
        ])->statePath('data');
    }
}
```

All mount/save plumbing is inherited. Just add the page to the panel via your plugin or directly.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

49d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/090664afed2a3f014aa9cc4d2225925052fbc30e1995ebb9898272dc77a5b45f?d=identicon)[ahmetozrahat](/maintainers/ahmetozrahat)

---

Top Contributors

[![ahmetozrahat](https://avatars.githubusercontent.com/u/12434217?v=4)](https://github.com/ahmetozrahat "ahmetozrahat (2 commits)")

---

Tags

spatielaravelSettingscmsfilamentafea

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

9782.1M153](/packages/laravel-ai)[spatie/laravel-health

Monitor the health of a Laravel application

88011.3M149](/packages/spatie-laravel-health)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[finity-labs/fin-mail

A powerful email template manager and composer for Filament with dynamic token replacement, template versioning, and inline email sending.

102.7k](/packages/finity-labs-fin-mail)[promethys/revive

A 'RecycleBin' page where users can restore or delete permanently soft-deleted models.

162.5k](/packages/promethys-revive)

PHPackages © 2026

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