.Env Editor
CommunityA Simple .env file viewer plugin for your panels. Provides features like, manage current env variables, and a handy backup functionality page.
Author:
GeoSot
Package health
BetaAutomated checks of this plugin's Composer package
15 checks
- Failed: GitHub Actions pinned to SHA — View details on Plumb
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Passed: Dependabot or Renovate configured
-
Failed:
Dependency update cooldown configured
—
No cooldown configured in
.github/dependabot.yml. View details on Plumb - Failed: Provides a security policy — View details on Plumb
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 14 days ago; last release 123 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Warning: 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.2supports current PHP8.5. - Skipped: Current Symfony version supported
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
.
Documentation
A Simple .env file Viewer plugin for your Filament Panels.
Provides features like, manage current .env variables, and a handy backup functionality page
#Installation
You can install the package via composer:
composer require geo-sot/filament-env-editor
Versions supported:
| Filament Version | Package Version |
|---|---|
| 3.x | 0.x |
| 4.x | 1.x |
| 5.x | 2.x |
#Usage
Add the GeoSot\FilamentEnvEditor\FilamentEnvEditorPlugin to your panel config.
use GeoSot\FilamentEnvEditor\FilamentEnvEditorPlugin;
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugin(
FilamentEnvEditorPlugin::make()
);
}
}
#Configuration
#Customizing the navigation item
FilamentEnvEditorPlugin::make()
->navigationGroup('System Tools')
->navigationLabel('My Env')
->navigationIcon('heroicon-o-cog-8-tooth')
->navigationSort(1)
->slug('env-editor')
#Hiding keys
Some keys you may consider to be particularly sensitive and don't wish to expose them, even through this package. You can hide them through this interface:
FilamentEnvEditorPlugin::make()
->hideKeys('APP_KEY', 'BCRYPT_ROUNDS')
#Authorization
If you would like to prevent certain users from accessing the logs page, you should add a authorize callback in the FilamentLEnvEditorPlugin chain.
FilamentEnvEditorPlugin::make()
->authorize(
fn () => auth()->user()->isAdmin()
)
#Customizing the log page
To customize the "env-editor" page, you can extend the GeoSot\FilamentEnvEditor\Pages\ViewEnv page and override its methods.
use GeoSot\FilamentEnvEditor\Pages\ViewEnv as BaseViewEnvEditor;
class ViewEnv extends BaseViewEnvEditor
{
// Your implementation
}
use App\Filament\Pages\ViewEnv;
FilamentEnvEditorPlugin::make()
->viewPage(CustomEnvPage::class)
#Contributing
Please see CONTRIBUTING for details.
#License
The MIT License (MIT). Please see License File for more information.
The author
GeoSot is a full-stack web developer with a strong focus on writing clean and efficient code, primarily using Laravel framework.
Featured Plugins
A selection of plugins curated by the Filament team
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese