💰 Get Config Manager on Gumroad:
👉 [https://daghini.gumroad.com/l/ifyzw]
Safely manage multiple .env configurations for your Laravel projects.
Config Manager helps you export, validate, apply, and rollback environment configuration files — without the risk of silently breaking your application.
Managing .env files across multiple environments (local, staging, production)
is error-prone.
A single mistake can:
- break your application
- leak secrets
- cause downtime in production
Config Manager makes configuration changes:
- explicit
- reversible
- and safe-by-default
Config Manager guarantees that:
- Your existing
.envfile is never modified unless you explicitly use--apply - Every applied change creates an automatic backup
- You can rollback the previous
.envat any time - Required variables are validated before export
- Production environments trigger explicit warnings
No hidden side-effects.
No silent overwrites.
- PHP 8.2+
- Laravel 10+
Install the package using Composer:
composer require vanni/config-managerphp artisan config-manager:export <project-id> <environment-id>This generates:
.env.config-manager➡ Your existing .env file is not modified.
php artisan config-manager:export <project-id> <environment-id> --applyThis will:
✔ backup your current .env
✔ replace it with the generated one
php artisan config-manager:export --rollbackIf the selected environment is marked as production, you will see a clear warning prompt before anything is applied.
Backups are stored in:
.env.backups/and handled automatically.
This is a commercial package.
If you need help, please contact the author using the same platform where you purchased the software (e.g., Gumroad).
GitHub issues and pull requests are not accepted.
This software is commercial and proprietary.
You MAY use it in your own personal or commercial projects.
You may NOT redistribute or publish the source code.
The English version of this documentation is the legally valid version.