PHP code example of sbamtr / laravel-source-encrypter
1. Go to this page and download the library: Download sbamtr/laravel-source-encrypter 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/ */
sbamtr / laravel-source-encrypter example snippets
'providers' => [
// ...
\sbamtr\LaravelSourceEncrypter\SourceEncryptServiceProvider::class,
];
$app->register(\sbamtr\LaravelSourceEncrypter\SourceEncryptServiceProvider::class);
bash
php artisan vendor:publish --provider="sbamtr\LaravelSourceEncrypter\SourceEncryptServiceProvider" --tag=config
bash
php artisan encrypt-source