PHP code example of beastbytes / emailobfuscator
1. Go to this page and download the library: Download beastbytes/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 / emailobfuscator example snippets
echo EmailObfuscator::widget([
'email' => '[email protected]'
]);
echo EmailObfuscator::widget([
'email' => '[email protected]',
'content' => ['obfuscated' => 'Enable JavaScript to see the email address']
]);
echo EmailObfuscator::widget([
'email' => '[email protected]',
'obfuscators' => [' dot ', ' at ']
]);
echo EmailObfuscator::widget([
'email' => '[email protected]',
'content' => ['clear' => 'by email']
]);
php composer.phar