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

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

stas29a/doctrine
================

Doctrine 2 fork with performance improvements

v2.5.5(9y ago)7622MITPHPPHP &gt;=5.4

Since Oct 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/stas29a/doctrine2)[ Packagist](https://packagist.org/packages/stas29a/doctrine)[ Docs](http://www.doctrine-project.org)[ RSS](/packages/stas29a-doctrine/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (71)Used By (0)

Doctrine 2 fork with optimization
---------------------------------

[](#doctrine-2-fork-with-optimization)

This fork contains some performance optimizations. Currently implements:

- Batch inserts for processing big amount of entities
- Disabling internal events when you need

The main object you need is `PerformanceConfiguration`. Here is an example for demonstration:

```
//Getting performance configuration
$performanceConfiguration = $em->getPerformanceConfiguration();

//Disable internal events
$performanceConfiguration->setIsEventsSystemEnabled(false);

//Enable batch inserts
$performanceConfiguration->enableBatchInsert();

//Set how many entities will be inserted per one insert
$performanceConfiguration->setMaxPerInsert(500);

```

More resources:
---------------

[](#more-resources)

- [Website](http://www.doctrine-project.org)
- [Documentation](http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/index.html)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity73

Established project with proven stability

 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 ~34 days

Recently: every ~92 days

Total

54

Last Release

3503d ago

PHP version history (2 changes)2.1.3PHP &gt;=5.3.2

v2.5.0-alpha1PHP &gt;=5.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3865680?v=4)[stas29a](/maintainers/stas29a)[@stas29a](https://github.com/stas29a)

---

Top Contributors

[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (1676 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (1072 commits)")[![guilhermeblanco](https://avatars.githubusercontent.com/u/208883?v=4)](https://github.com/guilhermeblanco "guilhermeblanco (585 commits)")[![FabioBatSilva](https://avatars.githubusercontent.com/u/588172?v=4)](https://github.com/FabioBatSilva "FabioBatSilva (314 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (116 commits)")[![romanb](https://avatars.githubusercontent.com/u/177309?v=4)](https://github.com/romanb "romanb (108 commits)")[![asm89](https://avatars.githubusercontent.com/u/657357?v=4)](https://github.com/asm89 "asm89 (104 commits)")[![goetas](https://avatars.githubusercontent.com/u/776743?v=4)](https://github.com/goetas "goetas (74 commits)")[![deeky666](https://avatars.githubusercontent.com/u/1411514?v=4)](https://github.com/deeky666 "deeky666 (50 commits)")[![bakura10](https://avatars.githubusercontent.com/u/1198915?v=4)](https://github.com/bakura10 "bakura10 (45 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (35 commits)")[![mnapoli](https://avatars.githubusercontent.com/u/720328?v=4)](https://github.com/mnapoli "mnapoli (27 commits)")[![ReenExe](https://avatars.githubusercontent.com/u/10358615?v=4)](https://github.com/ReenExe "ReenExe (25 commits)")[![Shurakai](https://avatars.githubusercontent.com/u/265444?v=4)](https://github.com/Shurakai "Shurakai (24 commits)")[![sandermarechal](https://avatars.githubusercontent.com/u/145240?v=4)](https://github.com/sandermarechal "sandermarechal (22 commits)")[![flip111](https://avatars.githubusercontent.com/u/2244480?v=4)](https://github.com/flip111 "flip111 (20 commits)")[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (19 commits)")[![encoder32](https://avatars.githubusercontent.com/u/2362210?v=4)](https://github.com/encoder32 "encoder32 (19 commits)")[![velovint](https://avatars.githubusercontent.com/u/184136?v=4)](https://github.com/velovint "velovint (18 commits)")[![holtkamp](https://avatars.githubusercontent.com/u/776405?v=4)](https://github.com/holtkamp "holtkamp (18 commits)")

---

Tags

databaseorm

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k295.3M7.2k](/packages/doctrine-orm)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M717](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[ec-cube/ec-cube

EC-CUBE EC open platform.

78727.2k1](/packages/ec-cube-ec-cube)[api-platform/doctrine-common

Common files used by api-platform/doctrine-orm and api-platform/doctrine-odm

243.9M41](/packages/api-platform-doctrine-common)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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