Laravel Package for failed Queue Notifications
Published on by Eric L. Barnes
The company Spatie released a new open source package to handle queue job failure notifications. When one fails it will send you an email with the details and as a bonus, it has Slack integration. It does this by hooking into the JobFailed event in Laravel 5.2
In the announcement post, Freek Van der Herten says that this was built so you don’t have to manually keep an eye on your failed jobs table.
Installation is through Composer and it comes with a simple config file. The email taps into Laravel’s built-in mail system and Slack requires the maknz/slack package from Regan McEntyre.
Eric is the creator of Laravel News and has been covering Laravel since 2012.