generationtux / failed-job-notifier by larkmullins

Notification service provider for failed Laravel Queue Jobs
0
2
4
Package Data
Maintainer Username: larkmullins
Maintainer Contact: lark.mullins@generationtux.com (Lark Mullins)
Package Create Date: 2017-01-19
Package Last Update: 2017-01-23
Language: PHP
License: MIT
Last Refreshed: 2024-12-14 15:10:25
Package Statistics
Total Downloads: 0
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 4
Total Forks: 0
Total Open Issues: 0

Failed Job Notifier

Notification service provider for failed Laravel Queue Jobs

Install

Install failed-job-notifier using Composer

composer require generationtux/failed-job-notifier

Next, setup the required ENV variables:

PUSHER_KEY // Your Pusher Key
PUSHER_SECRET					// Your Pusher Secret
PUSHER_APP_ID					// Your Pusher App ID

FAILED_JOBS_SERVICE		 		// Service name
FAILED_JOBS_URL		 			// Service url
FAILED_JOBS_EMAIL_SENDER		// Email to send from
FAILED_JOBS_EMAIL_SENDER_NAME	// Sender Name
FAILED_JOBS_EMAIL_RECIPIENTS	// Who gets the emails
FAILED_JOBS_EMAIL_SUBJECT		// Subject of failed job emails

Finally, register the service provider:

// config/app.php
'providers' => [
    ...
    GenTux\FailedJobNotifier\FailedJobNotifierService::class,
	...
];