{"id":15509207,"url":"https://github.com/kevindees/laravel-redis-queue","last_synced_at":"2025-04-23T02:32:43.759Z","repository":{"id":32836597,"uuid":"144020532","full_name":"kevindees/laravel-redis-queue","owner":"kevindees","description":"A little command line tool for clearing Laravel Redis queues.","archived":false,"fork":false,"pushed_at":"2022-02-05T15:32:47.000Z","size":10,"stargazers_count":15,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-19T22:11:01.479Z","etag":null,"topics":["laravel","laravel-horizon","queues","redis"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevindees.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-08T13:51:18.000Z","updated_at":"2022-11-17T20:04:59.000Z","dependencies_parsed_at":"2022-08-07T18:15:26.424Z","dependency_job_id":null,"html_url":"https://github.com/kevindees/laravel-redis-queue","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevindees%2Flaravel-redis-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevindees%2Flaravel-redis-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevindees%2Flaravel-redis-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevindees%2Flaravel-redis-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevindees","download_url":"https://codeload.github.com/kevindees/laravel-redis-queue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250357794,"owners_count":21417357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","laravel-horizon","queues","redis"],"created_at":"2024-10-02T09:41:40.768Z","updated_at":"2025-04-23T02:32:43.729Z","avatar_url":"https://github.com/kevindees.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://packagist.org/packages/kevindees/laravel-redis-queue\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/kevindees/laravel-redis-queue\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\n# Laravel Redis Queue\n\nA 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](https://laravel.com/docs/5.6/horizon) uses Redis for its queues, this tool can be used to clear your Horizon jobs.\n\n*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.*\n\n## Install\n\nYou can install this Laravel package using [Composer](https://getcomposer.org/) by running the following command.\n\n```shell\ncomposer require kevindees/laravel-redis-queue\n```\n\n## Basic Clear\n\nThis command clears the Redis queue defined in your `config/queue.php` file. The configuration is normally set to `default`.\n\n```shell\nphp artisan queue:redis -C\n```\n\nOutputs,\n\n```\nClearing Redis queues:default\n```\n\n### Defined Queue Clear\n\nTo clear a specific queue like `emails` pass it as an argument.\n\n```shell\nphp artisan queue:redis emails -C\n```\n\nOutputs,\n\n```\nClearing Redis queues:emails\n```\n\n## Horizon Basic Clear\n\nThe horizon feature here is not fool proof so you will want to check on the results after the fact.\n\nTo clear all failed jobs from redis in horizon.\n\n```shell\nphp artisan horizon:data failed_jobs -C\n```\n\nTo clear all jobs from redis in horizon.\n\n```shell\nphp artisan horizon:data recent_jobs -C\n```\n\nTo clear a tag or something else from redis in horizon.\n\n```shell\nphp artisan horizon:data App\\\\Import:66 -C\nphp artisan horizon:data failed:App\\Import:65 -C\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevindees%2Flaravel-redis-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevindees%2Flaravel-redis-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevindees%2Flaravel-redis-queue/lists"}