A PHP implementation of Zurb's Inky parser.
You can use Composer to install this library
composer require prezent/inkySimply create a new Inky instance and feed it an email template.
use Prezent\Inky\Inky;
$inky = new Inky();
echo $inky->parse('<html>....</html>');