Donkey plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Donkey

Community

CRUD your Laravel config() in code/any environment without giving access to the .env file. using the power of Filament UI

Tags: Action
Supported versions:
4.x
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Avexsoft avatar Author: Avexsoft

Documentation

Laravel Created By

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.