PHPackages                             drieschel/batches - 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. drieschel/batches

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

drieschel/batches
=================

A lightweight php lib for creating scheduled batch jobs and integrating them easily in php applications

0.1.0(10y ago)2229MITPHPPHP &gt;=5.3.0

Since Jun 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/drieschel/batches)[ Packagist](https://packagist.org/packages/drieschel/batches)[ RSS](/packages/drieschel-batches/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

batches
=======

[](#batches)

A lightweight php lib for creating scheduled batch jobs and integrating them easily in php applications. Jobs from a batch will be executed everytime when the execution time is reached or exceeded. That is a very important detail, because php is running request based and not like a daemon.

1. You have to create your own Job classes. They only need to implement the Job interface from this repository.
2. Instantiate a Batch object with a unique name and the directory where the run files has to be stored.
3. Set the executionPlan by method. Its cronjob notation like.
4. Instantiate the Job(s) you need and add them to the Batch object.
5. Call the run method from the Batch object.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3998d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f7a96e4104874db65df25bf285c75cdca143bccd42b63268bcf23c0e045d3b82?d=identicon)[drieschel](/maintainers/drieschel)

---

Top Contributors

[![drieschel](https://avatars.githubusercontent.com/u/852291?v=4)](https://github.com/drieschel "drieschel (1 commits)")

---

Tags

schedulingbatchesbatch jobs

### Embed Badge

![Health badge](/badges/drieschel-batches/health.svg)

```
[![Health](https://phpackages.com/badges/drieschel-batches/health.svg)](https://phpackages.com/packages/drieschel-batches)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[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

2228.8M171](/packages/react-async)[react/promise-stream

The missing link between Promise-land and Stream-land for ReactPHP

11512.9M45](/packages/react-promise-stream)[illuminate/bus

The Illuminate Bus package.

6043.8M409](/packages/illuminate-bus)

PHPackages © 2026

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