Download the PHP package stampie/extra without Composer
On this page you can find all versions of the php package stampie/extra. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stampie/extra
More information about stampie/extra
Files in stampie/extra
Package extra
Short Description Event-based plugin for stampie/stampie
License MIT
Homepage https://github.com/Stampie/extra
Informations about the package extra
Stampie Extra
StampieExtra provides an event-based extension point for Stampie. It uses the Symfony EventDispatcher component.
Usage
The Stampie Extra mailer wraps your Stampie mailer to provides extension points in the sending process.
The mailer will then dispatch the stampie.pre_send
event before sending
the message, allowing you to apply some changes.
Built-in listeners
ImpersonateListener
The ImpersonateListener allows you to replace the recipient of the mail during
development to send all messages to a single email address. It will add a
X-Stampie-To
header containing the original recipient.
LoggerListener
The LoggerListener allows you to log sent emails. It expects a logger implementing the PSR-3 LoggerInterface.
SpoolMailer
Stampie Extra also provides a SpoolMailer storing the messages in memory and sending them when flushing the queue.
Testing
Stampie Extra is Continuous Integration tested with Travis and aims for a high coverage percentage.
All versions of extra with dependencies
stampie/stampie Version ^1.0
symfony/event-dispatcher Version ^4.4 || ^5.4 || ^6.0
symfony/event-dispatcher-contracts Version ^1.1 || ^2.5 || ^3.0