PHP code example of roslov / log-obfuscator

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

    

roslov / log-obfuscator example snippets


#!/usr/bin/env php


declare(strict_types=1);

use Roslov\LogObfuscator\LogObfuscator;

     "password": "123456789"
    }
    JSON;

echo $obfuscator->obfuscate($json);