adaptivemedia / laravel-email-queue-checker
Will check that your applications email queue is working properly
Installs: 1 927
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=7.2
- illuminate/console: ^6.0|^7.0|^8.0|^9.0
- illuminate/support: ^6.0|^7.0|^8.0|^9.0
Requires (Dev)
- orchestra/testbench: ~3.0|~5.0|~6.0
- phpunit/phpunit: ^6.0|^7.0|^8.0|^9.0
README
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.