generationtux / failed-job-notifier
Notification service provider for failed Laravel Queue Jobs
dev-master
2017-01-23 19:57 UTC
Requires
- php: >=5.5.9
- illuminate/queue: ^5.3
- pusher/pusher-php-server: ^2.6
Requires (Dev)
- illuminate/contracts: ^5.3
- mockery/mockery: ^0.9.7
- phpunit/phpunit: ^5.7
This package is not auto-updated.
Last update: 2024-10-26 20:09:57 UTC
README
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,
...
];