1. Go to this page and download the library: Download shaozeming/laravel-crypt 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/ */
shaozeming / laravel-crypt example snippets
// config/app.php
'providers' => [
//...
ShaoZeMing\LaravelCrypt\CryptServiceProvider::class, //This is default in laravel 5.5
],
// config/app.php
'aliases' => [
'MingCrypt' => ShaoZeMing\LaravelCrypt\Facade\Crypt::class, //This is default in laravel 5.5
],