Get a slack notification when a job fails.
This package sends notifications to a slack web-hook if a queued job fails. It leverages Laravel 5.5 notification capabilities., (*1)
Installation
You can install the package via composer:, (*2)
``` bash
composer require leorent/slackdroid, (*3)
In order to use slack notification you must install guzzle first.
``` bash
composer require guzzlehttp/guzzle
The service provider will automatically be registered., (*4)
Next, you must publish the config file:, (*5)
php artisan vendor:publish --provider="Leo\DroidJobMonitor\BootJobMonitorServiceProvider"
After vendor publish a new file will be generated under config folder, named boot-job-monitor.php that contains slack web-hook url provided through env file., (*6)
```?php
/*
 * The channel web-hook to which the notification will be sent.
 */
return [, (*7)
'slack' => [
    'webhook_url' => env('FAILED_JOB_SLACK_WEBHOOK_URL'),
],
], (*8)
```, (*9)
Configuration
Usage
If you configured web-hook url correctly. You'll receive a notification when a queued job fails., (*10)
Testing
TODO, (*11)
License
The MIT License (MIT). Please see License File for more information., (*12)