scottrobertson/premailer

Pre-flight for HTML email - PHP Wrapper.

1.1 2014-04-03 14:34 UTC

This package is not auto-updated.

Last update: 2024-03-16 13:53:19 UTC


README

Build Status

Latest Stable Version Total Downloads Latest Unstable Version License

Pre-flight for HTML email - PHP Wrapper.

http://premailer.dialect.ca

Example

<?php

require __DIR__ . '/vendor/autoload.php';

$premailer = new ScottRobertson\Premailer\Request();

// Convert our HTML email using Premailer
$response = $premailer->convert('<h1>Hi</h1>');

// Download the generated HTML file from Premailer
echo $response->downloadHtml();

Todo

  • Documentation