PHP code example of fragly / laravel-envsync

1. Go to this page and download the library: Download fragly/laravel-envsync 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/ */

    

fragly / laravel-envsync example snippets

bash
php artisan env:sync
bash
php artisan env:sync --prune --yes --ignore=APP_KEY,LOG_*
bash
composer install
php artisan env:sync --yes --prune
php artisan config:cache

APP_KEY
LOG_*
MAIL_*
REDIS_*