PHP code example of denis-kisel / laravel-obfuscator
1. Go to this page and download the library: Download denis-kisel/laravel-obfuscator 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/ */
denis-kisel / laravel-obfuscator example snippets
Obfuscator::obfuscateFileFromTo($originalFile, $obfuscatedFile);
$data = File::get($originalFile);
File::put($obfuscatedFile, Obfuscator::obfuscateData($data));