kevindees/laravel-redis-queue 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kevindees/laravel-redis-queue

最新稳定版本:v1.0.0

Composer 安装命令:

composer require kevindees/laravel-redis-queue

包简介

Redis queue managment for laravel.

README 文档

README

Total Downloads

Laravel Redis Queue

A little command line tool for clearing Laravel Redis queues. This package is for Laravel 5 and removes all jobs from a queue using the Redis driver. Because Laravel Horizon uses Redis for its queues, this tool can be used to clear your Horizon jobs.

If you are using Horizon, it may be best to have a separate Redis connection for your jobs and another for other parts of your application.

Install

You can install this Laravel package using Composer by running the following command.

composer require kevindees/laravel-redis-queue

Basic Clear

This command clears the Redis queue defined in your config/queue.php file. The configuration is normally set to default.

php artisan queue:redis -C

Outputs,

Clearing Redis queues:default

Defined Queue Clear

To clear a specific queue like emails pass it as an argument.

php artisan queue:redis emails -C

Outputs,

Clearing Redis queues:emails

Horizon Basic Clear

The horizon feature here is not fool proof so you will want to check on the results after the fact.

To clear all failed jobs from redis in horizon.

php artisan horizon:data failed_jobs -C

To clear all jobs from redis in horizon.

php artisan horizon:data recent_jobs -C

To clear a tag or something else from redis in horizon.

php artisan horizon:data App\\Import:66 -C
php artisan horizon:data failed:App\Import:65 -C

统计信息

  • 总下载量: 34.06k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固