Need help with laravel-queue-clear?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

morrislaptop
147 Stars 21 Forks MIT License 13 Commits 8 Opened issues

Description

Command for wiping your queues clear

Services available

!
?

Need anything else?

Contributors list

# 114,114
PHP
Laravel
TypeScr...
nodejs-...
4 commits
# 34,081
PHP
Laravel
Bootstr...
Compose...
3 commits
# 204,294
PHP
Laravel
oauth
2 commits
# 637,608
PHP
1 commit

Laravel Queue Clear Command

Build Status

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.

Installation

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,
];

Usage

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 clear

If you omit either argument, it will use your default driver and the default queue / pipe for that driver.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.