PHPackages                             mouf/database.doctrine-orm-wrapper - 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. mouf/database.doctrine-orm-wrapper

ActiveMouf-library[Database &amp; ORM](/categories/database)

mouf/database.doctrine-orm-wrapper
==================================

This package contains wrapper classes that make Doctrine ORM easy to use in Mouf

2.2.x-dev(5y ago)35.3k7[2 issues](https://github.com/thecodingmachine/database.doctrine-orm-wrapper/issues)2MITPHPPHP &gt;=7.1

Since Sep 18Pushed 5y ago13 watchersCompare

[ Source](https://github.com/thecodingmachine/database.doctrine-orm-wrapper)[ Packagist](https://packagist.org/packages/mouf/database.doctrine-orm-wrapper)[ Docs](https://mouf-php.com/packages/mouf/database.doctrine-orm-wrapper)[ RSS](/packages/mouf-databasedoctrine-orm-wrapper/feed)WikiDiscussions 2.2 Synced 2d ago

READMEChangelogDependencies (9)Versions (5)Used By (2)

Doctrine ORM wrapper classes for Mouf
=====================================

[](#doctrine-orm-wrapper-classes-for-mouf)

This package contains a single class that makes Doctrine/ORM easily usable in Mouf.

It provides an installer that creates an instance of `EntityManager`.

The package also feature a special UI that will help you:

- install &amp; edit interfaces to help the user defining the main properties of the `entityManager` instance.
- automated DB Schema generation
- DAO (repository) generation that produce helpers for performing base queries

These steps are triggered during the install process, but also when lanching the configuration interface from the `entityManager` instance dedicated button :

[![Configure the entityManager](doc/images/configure-entityManager.png)](doc/images/configure-entityManager.png)

Finally, you will be able to update your DB Schema at all time using the menu entry in DB &gt;&gt; Doctrine &gt;&gt; Generate Schema and DAOs:

[![Configure the enttityManager](doc/images/menu-generate-schema.png)](doc/images/menu-generate-schema.png)

> **Approach:** Doctrine allows multiple strategies to operate from DB Schema to it's Entities. In this package, we made the choice to work from Model down to DB Schema : you just define your entities, then use the `entityManager` and associated `schemaTool` in order to create / update your schema.

For more information, please read the next steps:

- Doctrine documentation is very important as this package is just a wrapper :
- [Defining properties for the `entityManager` instance](doc/define-properties.md)
- [Create / Update your DB schema](doc/schema.md)
- [Generated DAO classes](doc/daos.md)
- [Writing packages that provide entities](doc/writing_packages.md)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

Total

5

Last Release

2163d ago

Major Versions

1.1.x-dev → 2.0.x-dev2017-07-20

PHP version history (3 changes)1.0.x-devPHP &gt;=5.3.0

2.0.x-devPHP &gt;=7.0

2.1.x-devPHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (40 commits)")[![xhuberty](https://avatars.githubusercontent.com/u/8350192?v=4)](https://github.com/xhuberty "xhuberty (33 commits)")[![nguyenk](https://avatars.githubusercontent.com/u/2227554?v=4)](https://github.com/nguyenk "nguyenk (8 commits)")[![CamilleKoppel](https://avatars.githubusercontent.com/u/49161585?v=4)](https://github.com/CamilleKoppel "CamilleKoppel (4 commits)")[![camkLcbr](https://avatars.githubusercontent.com/u/3781258?v=4)](https://github.com/camkLcbr "camkLcbr (3 commits)")[![vaidiep](https://avatars.githubusercontent.com/u/2227695?v=4)](https://github.com/vaidiep "vaidiep (1 commits)")

---

Tags

ormdoctrinewrappermouf

### Embed Badge

![Health badge](/badges/mouf-databasedoctrine-orm-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/mouf-databasedoctrine-orm-wrapper/health.svg)](https://phpackages.com/packages/mouf-databasedoctrine-orm-wrapper)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8405.5M96](/packages/laravel-doctrine-orm)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58825.2M48](/packages/scienta-doctrine-json-functions)[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)[perplorm/perpl

Perpl is an improved and still maintained fork of Propel2, an open-source Object-Relational Mapping (ORM) for PHP.

249.4k](/packages/perplorm-perpl)

PHPackages © 2026

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