1. Go to this page and download the library: Download actengage/talon 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/ */
actengage / talon example snippets
use Actengage\Talon\Facades\Talon;
$reply = Talon::extractFrom($emailBody); // auto-detects html vs plain
$reply = Talon::extractFrom($emailBody, 'text/html'); // or be explicit
$reply = Talon::extractFrom($plainText, 'text/plain');
use Actengage\Talon\Facades\Talon;
Talon::extractFrom($body); // auto-detect
Talon::extractFrom($body, 'text/html');
Talon::extractFrom($body, 'text/plain');
use Actengage\Talon\Talon;
(new Talon())->extractFromHtml($html);
(new Talon())->extractFromPlain($text);
use Actengage\Talon\TextQuotations;
TextQuotations::extract($text);
TextQuotations::isSplitter($line); // returns the matched splitter or null
TextQuotations::markLines($lines); // returns marker string: e/m/s/t/f
TextQuotations::processMarkedLines($lines, $markers, $flags);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.