PHP code example of hirasso / html-obfuscator

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

    

hirasso / html-obfuscator example snippets


use Hirasso\HTMLObfuscator\HTMLObfuscator;

echo HTMLObfuscator::createFromString($html)->render();

use Hirasso\HTMLObfuscator\HTMLObfuscator;

echo HTMLObfuscator::createFromString($html)
    ->phoneNumbers(false)
    ->withPassphrase('nobody will guess this!')
    ->withTagName('reveal-me')
    ->debug(true)
    ->render();