Download the PHP package puz/mail_autoembed without Composer
On this page you can find all versions of the php package puz/mail_autoembed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package mail_autoembed
Puz - Auto embed for images 
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:
To use with laravel ^5.2:
This package will register two plugins to the mailer.
- beforeSendPerformed
- Right before the email is sent, it will scan the email for
tags and it's src attribute. It will accept data:image, local image path and remote image
- Right before the email is sent, it will scan the email for
- sendPerformed
- Right after the mailer have sent the email away, it will go ahead and delete the temporary created images (for remote and data:image).
Contributions
Any suggestion or code improvement will be gladly accepted.
Future features
- Save all the images which is attached. This can be useful in situations where the user send the email from a text editor and you need to display the email on your website as well. Good thing you saved the image right?!
All versions of mail_autoembed with dependencies
PHP Build Version
Package Version
The package puz/mail_autoembed contains the following files
Loading the files please wait ....