PHPackages                             remi-san/doctrine-tools - 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. remi-san/doctrine-tools

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

remi-san/doctrine-tools
=======================

A set of tools for Doctrine

v0.2.1(5y ago)13.4kMITPHPCI failing

Since Mar 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/remi-san/doctrine-tools)[ Packagist](https://packagist.org/packages/remi-san/doctrine-tools)[ RSS](/packages/remi-san-doctrine-tools/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

Doctrine tools
==============

[](#doctrine-tools)

[![Author](https://camo.githubusercontent.com/4488dd05eac93ae677fc802ca3f7ecdf019ffac5386384282044a33dd0858654/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d4052656d6953616e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/RemiSan)[![Build Status](https://camo.githubusercontent.com/161b793ed2bcd76facbad71ace66952f9ebf37b1ec9d3e343e2d85a938619eb9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72656d692d73616e2f646f637472696e652d746f6f6c732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/remi-san/doctrine-tools)[![Quality Score](https://camo.githubusercontent.com/9302228ab9c5cc9119925092bfe924217c9df9b501b2e9416ed7be8a1a642b27/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72656d692d73616e2f646f637472696e652d746f6f6c732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/remi-san/doctrine-tools)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Packagist Version](https://camo.githubusercontent.com/ab446018c3cef0f2cbf546a7a5872da341053b044c08d45659b0905b886634ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72656d692d73616e2f646f637472696e652d746f6f6c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/remi-san/doctrine-tools)[![Coverage Status](https://camo.githubusercontent.com/4bd0037e83536d1dd9293d03337c4aaa5a0846dea795c092f2a81d08a9db6f10/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f72656d692d73616e2f646f637472696e652d746f6f6c732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/remi-san/doctrine-tools/code-structure)[![SensioLabsInsight](https://camo.githubusercontent.com/b5037e8e45a2da4564994bab252d85e604bd151b41d3897112d5846ada20e484/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35363964393161352d626436652d346565372d623437652d6564363139343036633335632f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/569d91a5-bd6e-4ee7-b47e-ed619406c35c)

Providing easy-to-use tools for doctrine.

Content
-------

[](#content)

This lib provides the following util classes:

- `EntityManagerBuilder` an entity manager builder providing an easy way to add **Doctrine** types to the `EntityManager`, you can also call methods on the type using a callable formatted array. It has been designed to be compatible with **Symfony DI** config files.
- `Psr3SqlLogger` is a **Doctrine** logger encapsulating a **PSR3** logger.

Usage example
-------------

[](#usage-example)

**EntityManagerBuilder**

```
$builder = new EntityManagerBuilder($connection, $config);
$builder->addType('customName', CustomType::class, [ [ 'callTypeMethod', []] ]);
$entityManager = $builder->buildEntityManager();
```

**Psr3SqlLogger**

```
$logger = new Psr3SqlLogger($psr3Logger, LogLevel::INFO);
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~897 days

Total

3

Last Release

1955d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9999746240ba052017622ecdce5ac44e6a43db5f38084ff7644691207925c043?d=identicon)[remi-san](/maintainers/remi-san)

---

Top Contributors

[![remi-san](https://avatars.githubusercontent.com/u/5213540?v=4)](https://github.com/remi-san "remi-san (7 commits)")

---

Tags

doctrinetools

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/remi-san-doctrine-tools/health.svg)

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

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/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.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[api-platform/doctrine-orm

Doctrine ORM bridge

293.9M78](/packages/api-platform-doctrine-orm)[bartlett/php-compatinfo-db

Reference Database of all functions, constants, classes, interfaces on PHP standard distribution and about 110 extensions

1184.5k2](/packages/bartlett-php-compatinfo-db)

PHPackages © 2026

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