langleyfoxall/laravel-config-to-env

⚙ Artisan command that replaces all variables in a Laravel config file with calls to env()

v1.0.2 2018-11-05 09:52 UTC

This package is auto-updated.

Last update: 2024-04-06 08:23:18 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"