Download the PHP package geo-sot/laravel-env-editor without Composer
On this page you can find all versions of the php package geo-sot/laravel-env-editor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download geo-sot/laravel-env-editor
More information about geo-sot/laravel-env-editor
Files in geo-sot/laravel-env-editor
Package laravel-env-editor
Short Description A laravel Package that supports .Env File, editing and backup
License MIT
Informations about the package laravel-env-editor
Laravel .env Editor (plus GUI)
This Package allows to manage Laravel .env file values on the Fly (add, edit, delete keys), upload another .env or create backups
Management can be done through the user interface, or programmatically by using the EnvEditor
Facade, without breaking the files structure.
The inspiration for this package was, Brotzka/laravel-dotenv-editor.
- Installation
- Available Methods
- User Interface
Installation:
-
Install package
-
Publish assets
This will publish all files:
- config -> env-editor.php
- views -> resources/views/vendor/env-editor/..
-
lang -> resources/lang/vendor/env-editor.php
Or publish specific tags
Available Methods:
- getEnvFileContent
- keyExists
- getKey
- addKey
- editKey
- deleteKey
- getAllBackUps
- upload
- backUpCurrent
- getFilePath
- deleteBackup
- restoreBackUp
Example
User Interface
Note: user interface is disabled be default. You can enable it by changing the configuration option env-editor.route.enable
User Interface Contains three Tabs
- Current .env
- Add new Key
- Edit Key
- Delete new Key
- Backups
- Backups Index
- Backup file details
-
Upload
Current .env
Add new key
Edit key
Delete key
Backups
Backups Index
Backup file details