PHP code example of mirko-pagliai / cakephp-recaptcha-mailhide

1. Go to this page and download the library: Download mirko-pagliai/cakephp-recaptcha-mailhide 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/ */

    

mirko-pagliai / cakephp-recaptcha-mailhide example snippets


Configure::write('RecaptchaMailhide.encryptKey', 'thisIsAKeyForEncrypt12345678901234567890');

$this->loadHelper('RecaptchaMailhide.Mailhide');

echo $this->Mailhide->link('My mail', '[email protected]');

echo $this->Mailhide->link('[email protected]', '[email protected]');

echo $this->Mailhide->link('My mail', '[email protected]', ['class' => 'my-custom-class']);