PHPackages                             phuclh/batch-jobs-state - 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. phuclh/batch-jobs-state

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

phuclh/batch-jobs-state
=======================

Manage state of Laravel batch jobs

012[2 PRs](https://github.com/phuclh/batch-jobs-state/pulls)PHP

Since Jul 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/phuclh/batch-jobs-state)[ Packagist](https://packagist.org/packages/phuclh/batch-jobs-state)[ RSS](/packages/phuclh-batch-jobs-state/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Manage state of Laravel batch jobs
==================================

[](#manage-state-of-laravel-batch-jobs)

[![Latest Version on Packagist](https://camo.githubusercontent.com/78e26d8fd6d14849b1dc11bb555851d72ae963684f1e8b8f451e5e27f1fd655f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706875636c682f62617463682d6a6f62732d73746174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phuclh/batch-jobs-state)[![GitHub Tests Action Status](https://camo.githubusercontent.com/386c69f7522746fcbd775224dbccba7fbdcd8d7507b308cd9e7f34c684c9de01/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f706875636c682f62617463682d6a6f62732d73746174652f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/phuclh/batch-jobs-state/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/34a488e038c0c97cf91a8265274b022d90987578275f95a18886647baa543ae9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f706875636c682f62617463682d6a6f62732d73746174652f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/phuclh/batch-jobs-state/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/14388146d0330df718a7b7d46d344bc4fce3b9696fde7cfe011680f72945134e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706875636c682f62617463682d6a6f62732d73746174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phuclh/batch-jobs-state)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/57df3fcd2920c344f1de22558f48f2d51789fd1c5460b3ae5cb83b5f740564a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f62617463682d6a6f62732d73746174652e6a70673f743d31)](https://spatie.be/github-ad-click/batch-jobs-state)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require phuclh/batch-jobs-state
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="batch-jobs-state-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="batch-jobs-state-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="batch-jobs-state-views"
```

Progress bar component

Config Tailwind CSS for the progress bar component in `tailwind.config.js`:

```
module.exports = {
    content: [
        ...
        './vendor/phuclh/batch-jobs-state/resources/views/**/*.blade.php',
    ]
};
```

Usage
-----

[](#usage)

```
$batchJobsState = new Phuclh\BatchJobsState();
echo $batchJobsState->echoPhrase('Hello, Phuclh!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [phucle](https://github.com/phuclh)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 51.7% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4266b3a5a108beea54b059cba17d0f10e64ddb35e7e9a3bf49c6e6b8060d672d?d=identicon)[phuclh](/maintainers/phuclh)

---

Top Contributors

[![phuclh](https://avatars.githubusercontent.com/u/6707194?v=4)](https://github.com/phuclh "phuclh (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

### Embed Badge

![Health badge](/badges/phuclh-batch-jobs-state/health.svg)

```
[![Health](https://phpackages.com/badges/phuclh-batch-jobs-state/health.svg)](https://phpackages.com/packages/phuclh-batch-jobs-state)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M170](/packages/react-async)

PHPackages © 2026

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