Package Data | |
---|---|
Maintainer Username: | morrislaptop |
Maintainer Contact: | craig.michael.morris@gmail.com (Craig Morris) |
Package Create Date: | 2015-02-17 |
Package Last Update: | 2020-12-15 |
Home Page: | https://packagist.org/packages/morrislaptop/laravel-queue-clear |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2025-03-14 03:00:10 |
Package Statistics | |
---|---|
Total Downloads: | 2,338,675 |
Monthly Downloads: | 47,160 |
Daily Downloads: | 2,171 |
Total Stars: | 147 |
Total Watchers: | 1 |
Total Forks: | 20 |
Total Open Issues: | 7 |
Often, when you're issuing php artisan db:refresh --seed
, you will have queue jobs left over that won't match with
your database records anymore.
This package simplifies the process of clearing your queues drastically.
Begin by installing this package through Composer.
{
"require": {
"morrislaptop/laravel-queue-clear": "~1.0"
}
}
Laravel 5.5+ will use the auto-discovery function.
If using Laravel 5.4 (or if you don't use auto-discovery) you will need to include the service provider in config/app.php
.
'providers' => [
Morrislaptop\LaravelQueueClear\LaravelQueueClearServiceProvider::class,
];
php artisan queue:clear [connection] [queue]
Where:
[connection]
is the name of a connection in your config/queue.php
[queue]
is the name of the queue / pipe you want to clearIf you omit either argument, it will use your default driver and the default queue / pipe for that driver.