scottrobertson / premailer
Pre-flight for HTML email - PHP Wrapper.
Installs: 6 170
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- guzzlehttp/guzzle: 4.*
Requires (Dev)
- mockery/mockery: ~0.9
This package is not auto-updated.
Last update: 2024-12-21 17:38:11 UTC
README
Pre-flight for HTML email - PHP Wrapper.
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