PHP code example of beastbytes / yii2-emailobfuscator

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

    

beastbytes / yii2-emailobfuscator example snippets


$emailAddress = EmailObfuscator::widget([
    'address' => '[email protected]'
]);

$emailAddress = EmailObfuscator::widget([
    'address' => '[email protected]',
    'obfuscators' => [' dot ', ' at ']
]);