PHPackages                             yokai/batch-doctrine-dbal - 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. [Database &amp; ORM](/categories/database)
4. /
5. yokai/batch-doctrine-dbal

ActiveLibrary[Database &amp; ORM](/categories/database)

yokai/batch-doctrine-dbal
=========================

doctrine/dbal bridge for yokai/batch

0.7.7(6mo ago)29.7k↓23.3%2MITPHPPHP ^8.1

Since Nov 11Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/yokai-php/batch-doctrine-dbal)[ Packagist](https://packagist.org/packages/yokai/batch-doctrine-dbal)[ RSS](/packages/yokai-batch-doctrine-dbal/feed)WikiDiscussions 0.x Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (32)Used By (0)

doctrine/dbal bridge for Batch processing library
=================================================

[](#doctrinedbal-bridge-for-batch-processing-library)

[![Latest Stable Version](https://camo.githubusercontent.com/5fab63504f057334560243eb0392329046f893de2df7ce9af40eb007a55c6138/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796f6b61692f62617463682d646f637472696e652d6462616c3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yokai/batch-doctrine-dbal)[![Downloads Monthly](https://camo.githubusercontent.com/960277cb004d6dc22cbe3a757756425a50c1234ed7694e501941b26c44edfada/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f796f6b61692f62617463682d646f637472696e652d6462616c3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yokai/batch-doctrine-dbal)

[`doctrine/dbal`](https://github.com/doctrine/dbal) bridge for [Batch](https://github.com/yokai-php/batch) processing library.

⚠️ BETA
-------

[](#warning-beta)

This library is following [semver](https://semver.org/). However before we reach the first stable version (`v1.0.0`), we may decide to introduce **API changes in minor versions**. This is why you should stick to a `v0.[minor].*` requirement !

Installation
============

[](#installation)

```
composer require yokai/batch-doctrine-dbal

```

Documentation
-------------

[](#documentation)

Please read the [dedicated documentation page](https://yokai-batch.readthedocs.io/en/0.x/bridges/doctrine-dbal.html).

This package provides:

- an [item job writer](https://github.com/yokai-php/batch-doctrine-dbal/blob/0.x/src/DoctrineDBALInsertWriter.php) that insert into an SQL table
- a [job execution storage](https://github.com/yokai-php/batch-doctrine-dbal/blob/0.x/src/DoctrineDBALJobExecutionStorage.php) that stores job executions to a relational database
- an [item job reader](https://github.com/yokai-php/batch-doctrine-dbal/blob/0.x/src/DoctrineDBALQueryCursorReader.php) that read from an SQL table using cursor pagination
- an [item job reader](https://github.com/yokai-php/batch-doctrine-dbal/blob/0.x/src/DoctrineDBALQueryOffsetReader.php) that read from an SQL table using limit + offset pagination
- an [item job writer](https://github.com/yokai-php/batch-doctrine-dbal/blob/0.x/src/DoctrineDBALUpsertWriter.php) that insert or update into an SQL table

Contribution
------------

[](#contribution)

This package is a readonly split of a [larger repository](https://github.com/yokai-php/batch-src), containing all tests and sources for all librairies of the batch universe.

Please feel free to open an [issue](https://github.com/yokai-php/batch-src/issues)or a [pull request](https://github.com/yokai-php/batch-src/pulls)in the [main repository](https://github.com/yokai-php/batch-src).

The library was originally created by [Yann Eugoné](https://github.com/yann-eugone). See the list of [contributors](https://github.com/yokai-php/batch-src/contributors).

License
-------

[](#license)

This library is under MIT [LICENSE](LICENSE).

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance73

Regular maintenance activity

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

Every ~63 days

Recently: every ~74 days

Total

30

Last Release

124d ago

PHP version history (6 changes)0.2.x-devPHP ^7.3

0.3.0PHP ^7.4

0.3.1PHP ^7.4|^8.0

0.5.0PHP ^8.0

0.6.0PHP ^8.1

0.x-devPHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/696ae505ade1f6c2c2074411d2ff191d307030fcc3c62e9b9054298f9d05f4ad?d=identicon)[yann-eugone](/maintainers/yann-eugone)

---

Top Contributors

[![yann-eugone](https://avatars.githubusercontent.com/u/1303838?v=4)](https://github.com/yann-eugone "yann-eugone (47 commits)")[![Elkawaie](https://avatars.githubusercontent.com/u/40693136?v=4)](https://github.com/Elkawaie "Elkawaie (2 commits)")[![guich25](https://avatars.githubusercontent.com/u/47358201?v=4)](https://github.com/guich25 "guich25 (1 commits)")[![J-Ben87](https://avatars.githubusercontent.com/u/1433301?v=4)](https://github.com/J-Ben87 "J-Ben87 (1 commits)")

---

Tags

dbaljobbatchexecution

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yokai-batch-doctrine-dbal/health.svg)

```
[![Health](https://phpackages.com/badges/yokai-batch-doctrine-dbal/health.svg)](https://phpackages.com/packages/yokai-batch-doctrine-dbal)
```

###  Alternatives

[doctrine/doctrine-bundle

Symfony DoctrineBundle

4.8k241.3M3.3k](/packages/doctrine-doctrine-bundle)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[enqueue/dbal

Message Queue Doctrine DBAL Transport

246.3M8](/packages/enqueue-dbal)[zenstruck/collection

Helpers for iterating/paginating/filtering collections (with Doctrine ORM/DBAL implementations and batch processing utilities).

16617.0k1](/packages/zenstruck-collection)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14295.2k1](/packages/flow-php-doctrine-dbal-bulk)

PHPackages © 2026

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