PHP code example of php-junior / laravel-html-encrypt

1. Go to this page and download the library: Download php-junior/laravel-html-encrypt 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/ */

    

php-junior / laravel-html-encrypt example snippets


PhpJunior\LaravelHtmlEncrypt\LaravelHtmlEncryptServiceProvider::class,
 
php artisan vendor:publish --provider="PhpJunior\LaravelHtmlEncrypt\LaravelHtmlEncryptServiceProvider"

return [
    'encrypt' => env('HTML_ENCRYPT', true),
    'disable_right_click'       => true,
    'disable_ctrl_and_F12_key'  => true,
];
 bash
 composer