1. Go to this page and download the library: Download janjanenjoy/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/ */
janjanenjoy / crypt example snippets
//config/app.php
'providers' => [
//...
JanjanEnjoy\Crypt\CryptServiceProvider::class, //This is default in laravel 5.5
],
/**if you want to use Facade mode ,you can add your own alias configuration like below.**/
'aliases' => [
//...
'MyCrypt' => \JanjanEnjoy\Crypt\CryptService::class,
]