| Package Data | |
|---|---|
| Maintainer Username: | Molteber |
| Maintainer Contact: | me@molty.no (Morten Mehus) |
| Package Create Date: | 2016-06-08 |
| Package Last Update: | 2016-07-17 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-04 15:03:47 |
| Package Statistics | |
|---|---|
| Total Downloads: | 22 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 14 |
| Total Watchers: | 2 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
This package is mainly made for Laravel 5.2, but is fully useful for every application which uses Swift Mailer
To install: composer require puz/mail_autoembed
To use without laravel:
$mailer = new \Swift_Mailer;
$mailer->registerPlugin(new \Puz\Mail\AutoEmbed\ImagesToAttachments);
To use with laravel ^5.2:
// Add the service provider in the list of your service providers in app.php. It MUST be added after laravels mail service provider
$providers[
...
\Puz\Mail\AutoEmbed\AutoEmbedServiceProvider::class,
...
];
This package will register two plugins to the mailer.
Any suggestion or code improvement will be gladly accepted.