Looking to hire Laravel developers? Try LaraJobs

laravel-environment-selector maintained by jbohme

Description
This is a package for selecting one of multiple environments in a laravel application.
Author
Last update
2022/03/02 21:24 (dev-master)
License
Links
Downloads
136

Comments
comments powered by Disqus

Latest Stable Version Total Downloads License PHP Version Require

This package is intended to make it easier to choose the .env. You can have ".env.testing", ".env.development" among others.

Installation

Install the package through composer:

composer require jbohme/laravel-environment-selector

You must publish a project configuration with:

php artisan vendor:publish --tag=laravel-env-selector
php artisan config:cache

After this the env-selector.json was created in the root.

Usage

Run the command to modify bootstrap/app.php to enable environment selection.

php artisan publish-env-selector

Change the environment in the env-selector.json file.

License

Laravel Horizon is open-sourced software licensed under the MIT license.