PHP code example of adaptivemedia / laravel-email-queue-checker

1. Go to this page and download the library: Download adaptivemedia/laravel-email-queue-checker 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/ */

    

adaptivemedia / laravel-email-queue-checker example snippets


// config/app.php

'providers' => [
    // ...
    Adaptivemedia\EmailQueueChecker\EmailQueueCheckerServiceProvider::class,
];

// app/Console/Kernel.php

protected $commands = [
    \Adaptivemedia\EmailQueueChecker\AddEmailQueueCheckerEmailCommand::class
];

// app/Console/Kernel.php

protected function schedule(Schedule $schedule)
{
    $schedule->command('email-queue-checker:add-email')->hourly();
}

php artisan vendor:publish --provider="Adaptivemedia\EmailQueueChecker\EmailQueueCheckerServiceProvider" --tag="config"