avexsoft/filament-donkey

The smart-ass Filament plugin to manage `config()` in production

Installs: 171

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 0

Forks: 0

Open Issues: 2

Type:laravel-library

pkg:composer/avexsoft/filament-donkey

1.0.8 2025-12-28 03:40 UTC

This package is auto-updated.

Last update: 2025-12-28 03:48:55 UTC


README

Laravel Created By

Filament Donkey

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

This plugin allows you to modify your Laravel config() in code/any environment without giving access to the .env file.

It's a filament ui to leverage this package Donkey

Installation

Step 1: Install the package via composer.

composer require avexsoft/filament-donkey

Step 2: Add in AdminPanelProvider.php

use Avexsoft\FilamentDonkey\FilamentDonkeyPlugin;

->plugins([
    FilamentDonkeyPlugin::make(),
])

Usage

Using the power of Donkey, this package make it easier to utilize filament ui conveniency to do such things:

Modify Project Settings

Build your own custom project page setting using the ConfigTextInput and ConfigToggle

<?php

namespace Avexsoft\FilamentDonkey\Filament\Pages;

use Avexsoft\FilamentDonkey\Filament\Forms\Components\ConfigTextInput;
use Avexsoft\FilamentDonkey\Filament\Forms\Components\ConfigToggle;
use Filament\Schemas\Components\Section;

class ProjectSettings extends ConfigurationPage
{
    public static function form(\Filament\Schemas\Schema $schema): \Filament\Schemas\Schema
    {
        return $schema
            ->statePath('data')
            ->schema([
                Section::make('Application')
                    ->aside()
                    ->description('Configuration for APP_xxx')
                    ->schema([
                        ConfigTextInput::make('app.name')
                            ->label('Application name'),
                        ConfigToggle::make('app.debug')
                            ->label('Application debug mode'),
                    ]),
            ]);
    }
}
image

Override Config Using UI

  • This page allows especially developer to add, override or modify config.
  • Config Key is the key of the config e.g app.name, app.debug
  • Value will be the desired value of the specific config
  • Is Masked will obscured sensitive config fields
  • Is Active make it possible to ignore a override config.
image

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.