Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

adaptivemedia/laravel-email-queue-checker

Repository files navigation

Email queue checker for Laravel projects to verify that your email queue is running

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.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages