joaopaulolndev/filament-edit-env

Package to edit env file
3,240 33
Install
composer require joaopaulolndev/filament-edit-env
Latest Version:v3.0.0
PHP:^8.1
License:MIT
Last Updated:Aug 1, 2026
Links: GitHub  ·  Packagist
Maintainer: joaopaulolndev

Package to edit env file

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is a plugin for FilamentPHP that, through an action, can edit the environment file.

[!NOTE] There is a condition in the plugin that prevents it from being used in production!

Screenshot of Application Feature

Compatibility

Package Version Filament Version
1.x 3.x
2.x 4.x
3.x 5.x

Installation

You can install the package via composer:

composer require joaopaulolndev/filament-edit-env:^3.0

Usage

Add in AdminPanelProvider.php

use Joaopaulolndev\FilamentEditEnv\FilamentEditEnvPlugin;

->plugins([
    FilamentEditEnvPlugin::make()
        ->showButton(fn () => auth()->user()->id === 1)
        ->setIcon('heroicon-o-cog'),
])

[!NOTE] for the code editor field, I am using the plugin Filament Ace Editor

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.

Related Packages

joaopaulolndev/filament-check-ssl-widget

A filamentPHP widget to get details about ssl certificate

1,607 18
joaopaulolndev/filament-pdf-viewer

Filament package to show pdf document viewer

229,505 109
joaopaulolndev/filament-world-clock

Show hours around the world by timezone

19,459 31
joaopaulolndev/filament-general-settings

Filament package to manage general settings

43,255 189