Download the PHP package mvanduijker/laravel-transactional-mails without Composer
On this page you can find all versions of the php package mvanduijker/laravel-transactional-mails. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mvanduijker/laravel-transactional-mails
More information about mvanduijker/laravel-transactional-mails
Files in mvanduijker/laravel-transactional-mails
Package laravel-transactional-mails
Short Description Send mails after DB transaction is committed
License
Informations about the package laravel-transactional-mails
Laravel Transactional Mails
Send your mails after database transaction is committed.
This package prevents for e-mails being sent within a transaction when the transaction fails. It will buffer the emails (or queued emails) and sends (or queues) them after the transaction is committed. Especially sending emails in the background within a transaction and the job picks up the email before the transaction has committed the job might retrieve invalid data.
Installation
You can install the package via composer:
Usage
You only have to extend your mailable with Duijker\LaravelTransactionalMails\TransactionalMailable
instead of Illuminate\Mail\Mailable
.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Mark van Duijker
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-transactional-mails with dependencies
illuminate/database Version ~6.0,!=6.9.0|~7.0|~8.0|~9.0|~10.0|~11.0|~12.0
illuminate/mail Version ~6.0|~7.0|~8.0|~9.0|~10.0|~11.0|~12.0