PHP code example of macsch15 / emailprotector
1. Go to this page and download the library: Download macsch15/emailprotector 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/ */
macsch15 / emailprotector example snippets
/**
* Encrypt email and title (if exists)
*
* @return string
*/
public function getEncrypted() : string
{
/**
* Output HTML code
*
* @return string
*/
public function outputHtml() : string
{
/**
* Output HTML code unescaped
*
* @return string
*/
public function outputHtmlRaw() : string
{
/**
* Output as jQuery
*
* @param string $element
* @return string
*/
public function outputJquery(string $element) : string
{