cleantalk/email-encoder

CleanTalk ContactsEncoder class

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:cleantalk-apbct-lib

pkg:composer/cleantalk/email-encoder

2.0.5 2025-11-09 08:44 UTC

This package is auto-updated.

Last update: 2025-11-09 08:47:06 UTC


README

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;