PHP code example of harmonic / laravel-envcoder

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

    

harmonic / laravel-envcoder example snippets

 bash
php artisan vendor:publish --provider="harmonic\LaravelEnvcoder"
 bash
php artisan env:encrypt
 bash
php artisan env:encrypt --password=password
 bash
php artisan env:decrypt
 bash
php artisan env:decrypt --password=password
 bash
php artisan env:compare --password=password