PHPackages                             macbookandrew/laravel-queue-cancel-batch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. macbookandrew/laravel-queue-cancel-batch

ActiveLibrary[Queues &amp; Workers](/categories/queues)

macbookandrew/laravel-queue-cancel-batch
========================================

Provides an Artisan command to cancel a specific batch of queued jobs

1.0.2(1y ago)2374.9k—7.8%1[1 PRs](https://github.com/macbookandrew/laravel-queue-cancel-batch/pulls)MITPHPPHP ^8.2CI passing

Since Sep 25Pushed 1w ago1 watchersCompare

[ Source](https://github.com/macbookandrew/laravel-queue-cancel-batch)[ Packagist](https://packagist.org/packages/macbookandrew/laravel-queue-cancel-batch)[ Docs](https://github.com/macbookandrew/laravel-queue-cancel-batch)[ GitHub Sponsors](https://github.com/macbookandrew)[ RSS](/packages/macbookandrew-laravel-queue-cancel-batch/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (3)Dependencies (12)Versions (6)Used By (0)

Laravel Queue Cancel Batch
==========================

[](#laravel-queue-cancel-batch)

Provides a command to cancel a specific batch of queued jobs.

[![package image](resources/package-image.png)](resources/package-image.png)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4235dff623e0ccd6d66e03b11ce4b5b3243e5fcc385ef22309d2253d40f1cec7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6163626f6f6b616e647265772f6c61726176656c2d71756575652d63616e63656c2d62617463682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/macbookandrew/laravel-queue-cancel-batch)

[![Total Downloads](https://camo.githubusercontent.com/62638caf43ec0a1a45acd7fa2c21835335c7aa0214853a7a3d968bcb584bd13a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6163626f6f6b616e647265772f6c61726176656c2d71756575652d63616e63656c2d62617463682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/macbookandrew/laravel-queue-cancel-batch)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require macbookandrew/laravel-queue-cancel-batch
```

Usage
-----

[](#usage)

```
# search for active batches and chancel one or more
php artisan queue:cancel-batch

 ┌ Select one or more batches to cancel ─────────────────────────┐
 │ My Test Batch (44/56 completed jobs; started 3 seconds ago)   │
 │ My Test Batch 2 (12/56 completed jobs; started 1 second ago)  │
 └───────────────────────────────────────────────────────────────┘

# cancel a batch if you already have the batch ID
php artisan queue:cancel-batch 70045ad7-3279-4481-9b1e-012710f22221
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Andrew Minion](https://github.com/macbookandrew)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance73

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~88 days

Total

3

Last Release

470d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/784333?v=4)[Andrew Minion](/maintainers/macbookandrew)[@macbookandrew](https://github.com/macbookandrew)

---

Top Contributors

[![andrewminion-luminfire](https://avatars.githubusercontent.com/u/47227887?v=4)](https://github.com/andrewminion-luminfire "andrewminion-luminfire (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![macbookandrew](https://avatars.githubusercontent.com/u/784333?v=4)](https://github.com/macbookandrew "macbookandrew (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

---

Tags

laravelmacbookandrewlaravel-queue-cancel-batch

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/macbookandrew-laravel-queue-cancel-batch/health.svg)

```
[![Health](https://phpackages.com/badges/macbookandrew-laravel-queue-cancel-batch/health.svg)](https://phpackages.com/packages/macbookandrew-laravel-queue-cancel-batch)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
