PHPackages                             webchemistry/doctrine-extras - 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. webchemistry/doctrine-extras

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

webchemistry/doctrine-extras
============================

01.5kPHP

Since Sep 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/WebChemistry/doctrine-extras)[ Packagist](https://packagist.org/packages/webchemistry/doctrine-extras)[ RSS](/packages/webchemistry-doctrine-extras/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Doctrine Bulk
-------------

[](#doctrine-bulk)

```
$factory = new BulkFactory($em);

// insert
$bulk = $factory->createInsert(Entity::class, ['id', 'firstName']);

$bulk->setReplace(true); // REPLACE INTO ...
$bulk->setSkipConflicts(true); // INSERT IGNORE ...
$bulk->setUpsert(true); // INSERT INTO ... ON DUPLICATE KEY UPDATE

$bulk->addValues([
    'id' => 1,
    'firstName' => 'Jane',
]);
$bulk->execute();

// update
$bulk = $factory->createUpdate(Entity::class, ['firstName'], ['id']); // updates only firstName, field id is in where clause
$bulk->addValues([
    'id' => 1,
    'firstName' => 'Jane',
]);
$bulk->execute();
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/312e788a47a251e05734378921d4596a91819b7de416fa18e77aa69e08798ea8?d=identicon)[Antik](/maintainers/Antik)

---

Top Contributors

[![MartkCz](https://avatars.githubusercontent.com/u/10145362?v=4)](https://github.com/MartkCz "MartkCz (44 commits)")

### Embed Badge

![Health badge](/badges/webchemistry-doctrine-extras/health.svg)

```
[![Health](https://phpackages.com/badges/webchemistry-doctrine-extras/health.svg)](https://phpackages.com/packages/webchemistry-doctrine-extras)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198741.5k12](/packages/pgvector-pgvector)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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