PHP code example of james.rus52 / laravel-source-encrypter

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

    

james.rus52 / 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