PHPackages                             rostenkowski/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. rostenkowski/doctrine

ActiveLibrary

rostenkowski/doctrine
=====================

v1.0.8(7y ago)135PHPPHP &gt;=7.1

Since Oct 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/rostenkowski/doctrine)[ Packagist](https://packagist.org/packages/rostenkowski/doctrine)[ RSS](/packages/rostenkowski-doctrine/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (9)Dependencies (6)Versions (10)Used By (0)

Doctrine
========

[](#doctrine)

Latest [Doctrine](http://www.doctrine-project.org/) integration for [Nette Framework](https://nette.org)

[![Build Status](https://camo.githubusercontent.com/f45f4dd9ff412bd5c43df06e61b2feee147b94f8e0ccf96435877ab44538c531/68747470733a2f2f7472617669732d63692e6f72672f726f7374656e6b6f77736b692f646f637472696e652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rostenkowski/doctrine)[![Coverage Status](https://camo.githubusercontent.com/a7bd2bd7dc83f48f2829a8a9525bbf866d28101186adbed8fe0c201f35136bf0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f726f7374656e6b6f77736b692f646f637472696e652f62616467652e737667)](https://coveralls.io/github/rostenkowski/doctrine)[![Code Climate](https://camo.githubusercontent.com/62f1992d9d311a6a214e526dce378ce4b25bcd939c54eeb42889871a5e7f25e6/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f726f7374656e6b6f77736b692f646f637472696e652f6261646765732f6770612e737667)](https://codeclimate.com/github/rostenkowski/doctrine)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4d6f459d5c2465407ebb402e65d5bbd51217b38f0ca5924a1c1218107fd4b7aa/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726f7374656e6b6f77736b692f646f637472696e652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rostenkowski/doctrine/?branch=master)

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

[](#installation)

```
composer require rostenkowski/doctrine
```

Usage
-----

[](#usage)

```
extensions:
  doctrine: Rostenkowski\Doctrine\Extension
```

### Mapped entities

[](#mapped-entities)

```
doctrine:
  entities:
    - %appDir%/entities
    - %baseDir%/libs/more-entities
```

### SQLite Connection

[](#sqlite-connection)

```
doctrine:
  connection:
    driver: pdo_sqlite
    path: %appDir%/db.sqlite
```

### PostgreSQL Connection

[](#postgresql-connection)

```
doctrine:
  connection:
    driver: pdo_pgsql
    host: 127.0.0.1
    dbname: database
    user: user
    password: ***
```

### Setup Custom Logger

[](#setup-custom-logger)

Mandatory `factory` must be or must return a class implementing the `Doctrine\DBAL\Logging\SQLLogger` interface. Optional `args` are passed to the factory or constructor.

```
doctrine:
  logger:
    enabled: yes
    factory: SomeNamespace\CustomLogger
    args: [ some, parameters ]
```

### Tracy Debugger Bar

[](#tracy-debugger-bar)

Custom debugger panel width and height can be set.

```
doctrine:
  debugger:
    enabled: yes
    width: 960px
    height: 720px
```

[![Screenshot](https://camo.githubusercontent.com/6c9fe1d736ec0ed918a04ee9b8a3521750d5bba7a2a7a395ccadca7c04ec057d/68747470733a2f2f63646e2e706272642e636f2f696d616765732f474e4d786677752e706e67)](https://camo.githubusercontent.com/6c9fe1d736ec0ed918a04ee9b8a3521750d5bba7a2a7a395ccadca7c04ec057d/68747470733a2f2f63646e2e706272642e636f2f696d616765732f474e4d786677752e706e67)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~70 days

Total

9

Last Release

2853d ago

### Community

Maintainers

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

---

Top Contributors

[![stepansvoboda](https://avatars.githubusercontent.com/u/168612?v=4)](https://github.com/stepansvoboda "stepansvoboda (7 commits)")

---

Tags

doctrine2integrationnette-frameworkphp7

### Embed Badge

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

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

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[acseo/typesense-bundle

This bundle provides integration with Typesense in Symfony

71112.0k1](/packages/acseo-typesense-bundle)[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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