PHP code example of hohayo / laravel-env-helpers
1. Go to this page and download the library: Download hohayo/laravel-env-helpers 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/ */
hohayo / laravel-env-helpers example snippets
bash
php artisan env:edit
php artisan env:edit --env=production
php artisan env:get DB_PASSWORD
php artisan env:get DB_PASSWORD --env=production