Download the PHP package pradeepdev001/laravel-environment-manager without Composer
On this page you can find all versions of the php package pradeepdev001/laravel-environment-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pradeepdev001/laravel-environment-manager
More information about pradeepdev001/laravel-environment-manager
Files in pradeepdev001/laravel-environment-manager
Package laravel-environment-manager
Short Description A secure, enterprise-grade Laravel package to manage .env variables via a web UI and Artisan commands.
License MIT
Informations about the package laravel-environment-manager
Laravel Environment Manager
A secure, enterprise-grade Laravel package to manage .env variables through a web-based admin UI and Artisan commands. Built for teams who need visibility, control, and auditability over their application configuration.
Features
- Viewer — browse all env variables grouped by category with search, filter, and sort
- Editor — add, update, delete, rename, and bulk edit variables with atomic file writes
- Sensitive value masking — auto-detects and masks
APP_KEY,*_PASSWORD,*_SECRET,STRIPE_*, etc. - Validation — built-in rules for
APP_URL,MAIL_PORT,DB_CONNECTION,CACHE_DRIVER, and more - Backup & restore — automatic pre-change backups, manual backups, encrypted backups, restore from UI or CLI
- Version history — full audit trail of every change with user, IP, reason, and rollback support
- Diff viewer — compare any two snapshots side-by-side
- Import / Export —
.env, JSON, and YAML formats with pre-import validation - Environment comparison — compare Local, Staging, Production side-by-side
- Cache management — auto-runs
config:clear,config:cache, etc. after every save, with local-safe defaults - REST API — full CRUD API with Sanctum auth and rate limiting
- Artisan commands —
list,get,set,delete,backup,restore,compare,validate - Role-based authorization — Super Admin, Admin, Read Only with configurable permissions
- Audit log — records every action with user, IP, browser, and timestamp
- Notifications — Mail, Slack, Teams, and custom webhooks
- Dark mode — responsive Blade UI with OS-level dark mode support
Requirements
| Dependency | Version |
|---|---|
| PHP | ^8.1 |
| Laravel | ^8.0 | ^9.0 | ^10.0 | ^11.0 | ^12.0 |
Installation
Publish the config file:
Publish and run migrations:
Quick Start
After installation, visit /admin/env-manager in your browser (requires authentication via the configured guard).
Using the Facade
Configuration
After publishing, edit config/environment-manager.php:
See config/environment-manager.php for all available options.
REST API
All endpoints are under /api/env-manager and, by default, require the admin guard.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/env-manager/env |
List all variables |
| POST | /api/env-manager/env |
Create a variable |
| PUT | /api/env-manager/env/{key} |
Update a variable |
| DELETE | /api/env-manager/env/{key} |
Delete a variable |
| GET | /api/env-manager/env/history |
Version history |
| GET | /api/env-manager/env/backups |
List backups |
Authorization
The package uses a role-based system out of the box.
| Permission | Super Admin | Admin | Read Only |
|---|---|---|---|
| view-env | ✅ | ✅ | ✅ |
| edit-env | ✅ | ✅ | ❌ |
| delete-env | ✅ | ✅ | ❌ |
| backup-env | ✅ | ✅ | ❌ |
| restore-env | ✅ | ✅ | ❌ |
| reveal-secrets | ✅ | configurable | ❌ |
Plug in your own permission system via the authorization_callback config key:
Testing
Security
Sensitive values are never stored, logged, or returned in plaintext. See SECURITY.md for the responsible disclosure process.
License
MIT — see LICENSE.
All versions of laravel-environment-manager with dependencies
illuminate/support Version ^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/database Version ^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/contracts Version ^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/console Version ^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/routing Version ^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/notifications Version ^8.0|^9.0|^10.0|^11.0|^12.0
symfony/yaml Version ^5.0|^6.0|^7.0