Automatically inline CSS for Laravel emails
Laravel service provider to register the openbuildings/swiftmailer-css-inliner css inliner plugin.
- PHP >= 5.5.9
- Laravel >= 5.0
Install via composer - edit your composer.json
to require the package.
"require": {
"pulkitjalan/laravel-mail-css-inliner": "0.2.*"
}
Then run composer update
in your terminal to pull it in.
Now add the following to the providers
array in your config/app.php
PulkitJalan\LaravelMailCssInliner\LaravelMailCssInlinerServiceProvider::class