Katerou22 / laravel-queue-clear

Command for wiping your queues clear

Home Page:https://packagist.org/packages/morrislaptop/laravel-queue-clear

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"
	}
}

And then include the service provider within config/app.php.

'providers' => [
    'Morrislaptop\LaravelQueueClear\LaravelQueueClearServiceProvider'
];

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.

About

Command for wiping your queues clear

https://packagist.org/packages/morrislaptop/laravel-queue-clear

License:MIT License


Languages

Language:PHP 100.0%