⚙ Artisan command that replaces all variables in a Laravel config file with calls to env()
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
composer.json

README.md

⚙ Laravel Config To Env

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"