This package is intended to make it easier to choose the .env. You can have ".env.testing", ".env.development" among others.
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.
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.
Laravel Horizon is open-sourced software licensed under the MIT license.