adaptivemedia/laravel-email-queue-checker

This package is abandoned and no longer maintained. No replacement package was suggested.

Will check that your applications email queue is working properly

2.2.0 2022-10-04 05:45 UTC

This package is auto-updated.

Last update: 2023-12-04 08:20:14 UTC


README

Latest Version on Packagist Build Status Total Downloads

In many projects there's an email queue that is responsible for sending emails. To make sure that the email queue is running, this package will add an email to the queue so it will be sent to a central system that receives the email and confirms that the queue is up and running. This package requires Laravel, at least version 5.2.

Installation

You can install the package via composer:

composer require adaptivemedia/laravel-email-queue-checker

Add the service provider

// config/app.php

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

If you're on Laravel 5.5, this package will be registered automatically via Laravels Package Discovery

Add console command to Kernel

// app/Console/Kernel.php

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

Add a scheduling event to the command

// app/Console/Kernel.php

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

Publish the config and edit it

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

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email info@adaptivemedia.se instead of using the issue tracker.

Credits

About Adaptivemedia

Adaptivemedia is a web development agency based in Stockholm, Sweden. Check out our website at here.

License

The MIT License (MIT). Please see License File for more information.