PHPackages                             antidot-fw/doctrine - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. antidot-fw/doctrine

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

antidot-fw/doctrine
===================

Antidot Framework doctrine orm integration library

1.0.3(5y ago)1641[1 issues](https://github.com/antidot-framework/doctrine/issues)[2 PRs](https://github.com/antidot-framework/doctrine/pulls)BSD-2-ClausePHPPHP ^7.4|^8.0

Since Jun 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/antidot-framework/doctrine)[ Packagist](https://packagist.org/packages/antidot-fw/doctrine)[ GitHub Sponsors](https://github.com/kpicaza)[ RSS](/packages/antidot-fw-doctrine/feed)WikiDiscussions 2.x.x Synced today

READMEChangelog (3)Dependencies (11)Versions (7)Used By (0)

Antidot Doctrine Integration
============================

[](#antidot-doctrine-integration)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a67f30046cc6bca1e64dcd99492688cb849f3e5d728ab11baa2906fb0049d577/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e7469646f742d66772f646f637472696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/antidot-fw/doctrine)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7278b64dba15fc4b22c6cba0714ea2e0f76b96ed637e64198f6f4fc0f55ed21f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616e7469646f742d6672616d65776f726b2f646f637472696e652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/antidot-framework/doctrine/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/59e387c0b1c294743f6b965856b402ad38adf5aeb672119f2d1df914bc9a5380/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616e7469646f742d6672616d65776f726b2f646f637472696e652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/antidot-framework/doctrine/?branch=master)[![type-coverage](https://camo.githubusercontent.com/7280c09eb88f1b8e1c2f7a2ef2fb0d7c393189d2c31323d7257629347d20cc6f/68747470733a2f2f73686570686572642e6465762f6769746875622f616e7469646f742d6672616d65776f726b2f646f637472696e652f636f7665726167652e737667)](https://shepherd.dev/github/antidot-framework/doctrine)[![Build Status](https://camo.githubusercontent.com/2b075bce39c051deea55c063390bfc7c7d4c187ee4094cea985742dbe6b9728e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616e7469646f742d6672616d65776f726b2f646f637472696e652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/antidot-framework/doctrine/build-status/master)

Integration library between [Doctrine ORM](https://www.doctrine-project.org/projects/doctrine-orm/en/2.7/index.html) and [Antidot Framework](https://antidotfw.io/#/framework/getting-started) using [Roave PSR-11 Doctrine factories](https://github.com/Roave/psr-container-doctrine).

Requirements
------------

[](#requirements)

- PHP ^7.4|^8.0 for current

Install
-------

[](#install)

Install using [composer](https://getcomposer.org/download/).

```
composer require antidot-fw/doctrine
```

Default Config in Antidot Framework Starter
-------------------------------------------

[](#default-config-in-antidot-framework-starter)

Doctrine integration requires a minimum config to work, by default it is configured with [the `SimplifiedYamlDriver`](https://www.doctrine-project.org/projects/doctrine-orm/en/2.7/reference/yaml-mapping.html#simplified-yaml-driver). When you need more complex or more custom config you can implement it without ani issues following [doctrine docs](https://www.doctrine-project.org/projects/doctrine-orm/en/2.7/index.html).

```
# Example using PDOSqliteDriver, and allocating yaml files at `config/doctrine`
# directory for `App\Domain\Model` namespace.
parameters:
  doctrine:
    connection:
      orm_default:
        driver_class: Doctrine\DBAL\Driver\PDOSqlite\Driver
        params:
          path: var/database.sqlite
    driver:
      orm_default:
        paths:
          config/doctrine: App\Domain\Model
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 68.9% 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 ~104 days

Recently: every ~130 days

Total

6

Last Release

1638d ago

Major Versions

0.0.1 → 1.0.02020-06-13

1.0.3 → 2.x-dev2021-11-16

PHP version history (3 changes)0.0.1PHP ^7.2.13

1.0.0PHP ^7.4.3

1.0.3PHP ^7.4|^8.0

### Community

Maintainers

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

---

Top Contributors

[![kpicaza](https://avatars.githubusercontent.com/u/1093654?v=4)](https://github.com/kpicaza "kpicaza (31 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (2 commits)")

---

Tags

antidot-frameworkdoctrine-ormpsr-11PSR-11

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/antidot-fw-doctrine/health.svg)

```
[![Health](https://phpackages.com/badges/antidot-fw-doctrine/health.svg)](https://phpackages.com/packages/antidot-fw-doctrine)
```

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k48.9M994](/packages/php-di-php-di)[laminas/laminas-servicemanager

Factory-Driven Dependency Injection Container

15955.1M694](/packages/laminas-laminas-servicemanager)[laminas/laminas-di

Automated dependency injection for PSR-11 containers

3618.1M38](/packages/laminas-laminas-di)[bnf/phpstan-psr-container

PHPStan dynamic return type extension for PSR-11 ContainerInterface

133.5M53](/packages/bnf-phpstan-psr-container)[slince/di

A flexible dependency injection container

20260.4k6](/packages/slince-di)[chubbyphp/chubbyphp-container

A simple PSR-11 container implementation.

1978.4k14](/packages/chubbyphp-chubbyphp-container)

PHPackages © 2026

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