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 2mo 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 49% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity26

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

2112d 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

[beberlei/doctrineextensions

A set of extensions to Doctrine 2 that add support for additional query functions available in MySQL, Oracle, PostgreSQL and SQLite.

2.1k75.1M146](/packages/beberlei-doctrineextensions)[scienta/doctrine-json-functions

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

58523.9M36](/packages/scienta-doctrine-json-functions)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[pagerfanta/doctrine-orm-adapter

Pagerfanta adapter for Doctrine ORM

424.3M33](/packages/pagerfanta-doctrine-orm-adapter)[nettrine/orm

Doctrine ORM for Nette Framework

581.9M37](/packages/nettrine-orm)

PHPackages © 2026

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