langleyfoxall / laravel-config-to-env
⚙ Artisan command that replaces all variables in a Laravel config file with calls to env()
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 2
pkg:composer/langleyfoxall/laravel-config-to-env
Requires
- illuminate/console: ^5.5
- illuminate/support: ^5.5
- nikic/php-parser: ^4.0
This package is auto-updated.
Last update: 2025-10-06 11:31:27 UTC
README
This package provide an Artisan command that replaces all variables in a
Laravel config file with calls to env()
.
Installation
You can then run the following Composer command to install this package.
composer require langleyfoxall/laravel-config-to-env
Usage
# Run on a single config file php artisan config:config-to-env "config/queue.php" # Run on all config files php artisan config:config-to-env "config/*.php"