PHP code example of particleflux / yii2-mail-obfuscator

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

    

particleflux / yii2-mail-obfuscator example snippets


 echo \particleflux\MailObfuscator\MailObfuscator::widget([
    'email' => '[email protected]',
    'text'  => 'send email',
    'options' => [
        'title' => 'mail me'
    ],
]);