Skip to content

CleanTalk/contacts-encoder

Repository files navigation

To use the ContactsEncoder module:

  1. Extend the platform-specific ContactsEncoder class

  2. Instantiate the encoder

$contacts_encoder_params = new Params();
$contacts_encoder_params->api_key = 'CleanTalk API key';

$contacts_encoder = ContactsEncoder::getInstance($contacts_encoder_params);
  1. Prepare the content (HTML, text, etc.)

  2. Encode contact details

$encoded_content = $contacts_encoder->runEncoding('your content do encode');
  1. Output the modified content
echo $encoded_content;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages