PHPackages                             eventjet/psr-container-doctrine-odm - 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. eventjet/psr-container-doctrine-odm

ActiveLibrary

eventjet/psr-container-doctrine-odm
===================================

Doctrine ODM factory for PSR-11 container

0.1.0(4y ago)0507MITPHPPHP ^7.4 || ^8.0

Since Aug 1Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/eventjet/eventjet-psr-container-doctrine-odm)[ Packagist](https://packagist.org/packages/eventjet/psr-container-doctrine-odm)[ RSS](/packages/eventjet-psr-container-doctrine-odm/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (17)Versions (3)Used By (0)

psr-container-doctrine-odm: Doctrine MongoDB ODM factories for PSR-11 containers
================================================================================

[](#psr-container-doctrine-odm-doctrine-mongodb-odm-factories-for-psr-11-containers)

This package provides additional factories for Doctrine MongoDB ODM on top of [`roave/psr-container-doctrine`](https://github.com/Roave/psr-container-doctrine) to be used with containers using the PSR-11 standard.

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

[](#installation)

```
$ composer require eventjet/psr-container-doctrine-odm
```

Configuration
-------------

[](#configuration)

The most basic way is just defining the factory for the `DocumentManager`. Everything else is taken from the configuration.

```
return [
    'dependencies' => [
        'factories' => [
           DocumentManager::class => DocumentManagerFactory::class,
        ],
    ],
];
```

### Example Configuration

[](#example-configuration)

A full example of the configuration can be found in the [examples](example/full-config.php) folder.

The configuration style is heavily based on [`roave/psr-container-doctrine`](https://github.com/Roave/psr-container-doctrine/blob/3.1.x/example/full-config.php)to retain the familiarity. Also, the configuration *should* be compatible with the ['DoctrineMongoODMModule for Laminas](https://github.com/doctrine/DoctrineMongoODMModule).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance42

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

1746d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf84c6852b03fde91d73c1c04b6dabe5d47167d4994a6cf40c11e5cfd18d07e7?d=identicon)[trinet](/maintainers/trinet)

---

Top Contributors

[![rieschl](https://avatars.githubusercontent.com/u/3321556?v=4)](https://github.com/rieschl "rieschl (2 commits)")

---

Tags

hacktoberfestmongodbodmphppsr-11

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/eventjet-psr-container-doctrine-odm/health.svg)

```
[![Health](https://phpackages.com/badges/eventjet-psr-container-doctrine-odm/health.svg)](https://phpackages.com/packages/eventjet-psr-container-doctrine-odm)
```

###  Alternatives

[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[api-platform/state

API Platform state interfaces

223.4M57](/packages/api-platform-state)

PHPackages © 2026

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