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. macbookandrew/laravel-queue-cancel-batch

ActiveLibrary

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

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

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

Since Sep 25Pushed 2mo 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 1mo ago

READMEChangelog (3)Dependencies (12)Versions (5)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

48

—

FairBetter than 95% of packages

Maintenance69

Regular maintenance activity

Popularity40

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity55

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

425d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8000952fbb17623ad6e2d3a001b3a0af97ff301436b1db33287522e9d073cd0b?d=identicon)[macbookandrew](/maintainers/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] (7 commits)")[![macbookandrew](https://avatars.githubusercontent.com/u/784333?v=4)](https://github.com/macbookandrew "macbookandrew (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 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

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)

PHPackages © 2026

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