PHP code example of bluora / laravel-emogrifier
1. Go to this page and download the library: Download bluora/laravel-emogrifier 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/ */
bluora / laravel-emogrifier example snippets
'aliases' => array(
...
'Emogrifier' => HnhDigital\Emogrifier\Facade::class,
...
)
'providers' => array(
...
HnhDigital\Emogrifier\ServiceProvider::class,
...
)
$output = Emogrifier::parse($html, $css);
$output = app('Emogrifier')->parse($html, $css);