Inlines css and minifies html in Laravel mails.
- Load css from url/cdn
- Disable / Enable optimizations
- Check some html mail standards
- Cache mail views
- Debug function
Via Composer
$ composer require fridzema/laravel-mail-optimizer
Publish config
php artisan vendor:publish --provider='Fridzema\LaravelMailOptimizer\LaravelMailOptimizerServiceProvider'
Please see the changelog for more information on what has changed recently.
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
This package is greatly inspired, and mostly copied, from laravel-mail-css-inliner. Because laravel-mail-css-inliner seems abonded i created this package with a few extra features.
license. Please see the license file for more information.