Edit Env plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Edit Env

Community

Edit your environment file directly from the Filament panel.

Tags: Developer Tool Panels
Supported versions:
4.x 3.x
João Paulo Leite Nascimento avatar Author: João Paulo Leite Nascimento

Package health

Beta

Automated checks of this plugin's Composer package

100 / 100
Security 100
Maintenance 100
Ecosystem 100
15 checks
  • Passed: GitHub Actions pinned to SHA
  • Skipped: GitLab CI includes pinned to SHA
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No stale Dependabot PRs.
  • Skipped: Renovate MR responsiveness
  • Passed: Dependabot or Renovate configured
  • Passed: Dependency update cooldown configured
  • Passed: Provides a security policy
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Passed: Commit and release recency — Active: last commit 0 days ago; last release 192 days ago.
  • Passed: composer.lock not committed by library composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Passed: Current Laravel version supported — Package dependencies resolve together with current Laravel 13.0.
  • Passed: Current PHP version supported — Constraint ^8.2 supports current PHP 8.5.
  • Skipped: Current Symfony version supported
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 .
Powered by Plumb Last scanned 3 weeks ago

Documentation

Version:

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

#Installation

You can install the package via composer:

composer require joaopaulolndev/filament-edit-env

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-edit-env-views"

#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.