avexsoft/filament-donkey 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

avexsoft/filament-donkey

最新稳定版本:1.0.9

Composer 安装命令:

composer require avexsoft/filament-donkey

包简介

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

README 文档

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.

统计信息

  • 总下载量: 185
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固