PHPackages                             51systems/doctrine-extensions-module - 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. 51systems/doctrine-extensions-module

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

51systems/doctrine-extensions-module
====================================

Doctrine2 Extensions

v1.3.2(9y ago)0321LGPL-3.0PHPPHP &gt;=5.4

Since Aug 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/51systems/doctrine-extensions-module)[ Packagist](https://packagist.org/packages/51systems/doctrine-extensions-module)[ Docs](https://github.com/51systems/doctrine-extensions)[ RSS](/packages/51systems-doctrine-extensions-module/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (7)Versions (15)Used By (0)

doctrine-extensions
===================

[](#doctrine-extensions)

[![Build Status](https://camo.githubusercontent.com/e88113504803ea2fd54847645443d7cf0475a4510114d4c21e15c5ac8e44c443/68747470733a2f2f7472617669732d63692e6f72672f353173797374656d732f646f637472696e652d657874656e73696f6e732d6d6f64756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/51systems/doctrine-extensions-module)

Collection of extensions to the doctrine2 ORM

Features:
---------

[](#features)

- Controller Plugins
    - EntityManagerProvider (entityManagerProvider) - Returns the orm\_default entity manager
    - AuthenticatedUserProvider (authenticatedUserProvider) - Gets the currently authenticated user (if any)
    - InitFormPlugin (initForm) - Initializes forms that may need the entity manager. Also sets up a doctrine object hydrator.
- DataFixtures
    - AddIfNotPresentTrait - Helper trait to make it easy to only add fixture entities if they aren't already present in the database
- Types
    - UTCDateTime (`utc_datetime`) type as per [Doctrine Cookbook](http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/cookbook/working-with-datetime.html). Be careful when querying from this
- Gedmo Extensions
    - Timestampable
        - Extends Timestampable extension to support UTCDateTime (`utc_datetime`). `DoctrineExtensions\Gedmo\Timestampable\TimestampableListener` should be used in place of `Gedmo\Timestampable\TimestampableListener` in config files
- Hydrators
    - Single Column Hydrator
- ORM
    - Repositories
        - SubclassRepositoryFactory that will return a repo that uses the most defined repo definition in the class hierarchy
    - Traits
        - UTCTimestampableEntity - [Timestampable](https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/timestampable.md)behaviour using UTCDateTime
        - EntityManagerAwareTrait - Provides getters/setters for object to hold and instance of an EntityManager.
    - Alias
        - A smarter alias to use with the doctrine query builder. Allows building / chaining of multiple aliases for subquries.

Skipper
-------

[](#skipper)

To get The custom type working in skipper, you need to make a [custom configuration file](https://help.skipper18.com/expert-usage/customization/configuration-files) and include the following:

```

```

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

[](#installation)

Install Via composer.

Add `DoctrineExtensions` to Modules in application.config.php

Config Setup
------------

[](#config-setup)

Copy doctrine-extensions.global.php.dist to your configuration directory and rename to doctrine-extensions.global.php. Modify as necessary.

Testing
-------

[](#testing)

Some of the unit tests depend on test classes from other modules. Use `--prefer-source` when installing composer to run them.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~69 days

Total

13

Last Release

3511d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.3

v1.2.1PHP &gt;=5.4

### Community

Maintainers

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

---

Top Contributors

[![powturns](https://avatars.githubusercontent.com/u/658883?v=4)](https://github.com/powturns "powturns (33 commits)")

---

Tags

doctrine

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/51systems-doctrine-extensions-module/health.svg)

```
[![Health](https://phpackages.com/badges/51systems-doctrine-extensions-module/health.svg)](https://phpackages.com/packages/51systems-doctrine-extensions-module)
```

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8465.5M96](/packages/laravel-doctrine-orm)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k13](/packages/2lenet-crudit-bundle)[api-platform/doctrine-orm

Doctrine ORM bridge

294.4M91](/packages/api-platform-doctrine-orm)[sylius/resource

Basic resource interfaces for PHP applications.

252.8M101](/packages/sylius-resource)

PHPackages © 2026

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