PHP code example of okipa / laravel-failed-jobs-notifier

1. Go to this page and download the library: Download okipa/laravel-failed-jobs-notifier library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

okipa / laravel-failed-jobs-notifier example snippets


// laravel bootstrap components
// https://github.com/Okipa/laravel-failed-jobs-notifier
$this->app->register(\Okipa\LaravelFailedJobsNotifier\FailedJobsReporterServiceProvider::class);

$schedule->command('queue:failed:notify')->twiceDaily(9, 15);
bash
php artisan vendor:publish --tag=failed-jobs-notifier:config