rectitude-open/filament-system-settings

This is my package filament-system-settings

v1.0.1 2025-05-18 05:40 UTC

This package is auto-updated.

Last update: 2025-05-18 05:41:58 UTC


README

Do not use Latest Version on Packagist Tests PHPStan Total Downloads

Filament System Settings is a user-friendly plugin that provides a comprehensive system settings page for your Filament admin panel, It includes several preset panels for managing application configuration, mail settings, security options, and more.

The package is built on top of the Filament Spatie Laravel Settings Plugin package.

This package is also a standalone part of a CMS project: FilaPress.

Installation

You can install the package via composer:

composer require rectitude-open/filament-system-settings

You can publish and run the migrations with:

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

You can publish the config file with:

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

This is the contents of the published config file:

return [
    'system_settings' => RectitudeOpen\FilamentSystemSettings\Settings\SystemSettings::class,
    'system_settings_page' => RectitudeOpen\FilamentSystemSettings\Pages\SystemSettingsPage::class,
];

Usage

The package provides a System Settings Page that allows you to manage system settings in your Filament admin panel.

To use the page provided by this package, you need to register it in your Panel Provider first.

namespace App\Providers\Filament;

use RectitudeOpen\FilamentSystemSettings\FilamentSystemSettingsPlugin;

class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ->plugins([
                FilamentSystemSettingsPlugin::make()
            ]);
    }
}    

For more advanced setting features, please refer to the documentation of the Laravel Settings package.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.