PHP code example of bilalbaraz / laravel-env-changer

1. Go to this page and download the library: Download bilalbaraz/laravel-env-changer library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bilalbaraz / laravel-env-changer example snippets

bash
php artisan env:change VARIABLE VALUE
bash
php artisan env:change QUEUE_CONNECTION database