PHPackages                             brenodouglas/doctrineconfig - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. brenodouglas/doctrineconfig

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

brenodouglas/doctrineconfig
===========================

Utility config doctrine

0131PHP

Since Aug 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/brenodouglas/doctrineconfig)[ Packagist](https://packagist.org/packages/brenodouglas/doctrineconfig)[ RSS](/packages/brenodouglas-doctrineconfig/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Doctrine configuration for Respect/Rest
=======================================

[](#doctrine-configuration-for-respectrest)

Integration doctrine in project Respect/Rest

Require PHP &gt;= 5.3

In index.php

```
  require 'autoload.php';

  \RespectDoctrine\Doctrine\Doctrine::setConfigDir("config.php");
  $doctrine = new Doctrine();
  $em = $doctrine->getEntityManager();

```

In config.php

```
return [
  'database' => [

      'default' => 'mysql',

      'mysql' => [
          'dbname' => "application",
          'user' => 'root',
          'port' => null,
          'password' => '',
          'host' => 'localhost',
          'driver' => 'pdo_mysql'
      ],

      'pgsql' => [
          'dbname' => "application",
          'user' => 'root',
          'port' => 5232,
          'password' => '',
          'host' => 'localhost',
          'driver' => 'pdo_pgsql'
      ]

  ],

  'doctrine' => [
      /** Namespaces on Entity mapped */
      'entity' => [
          __DIR__."/Api/Entity"
      ],
      /** Dir of metadatas generate */
      'metadata' => __DIR__."/../cache/doctrine"
  ]
];

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ba5e30ffcdf96646ca9ba09525e6d628d604836db2e99e3f2f3b6570b265b5e?d=identicon)[breninho94](/maintainers/breninho94)

---

Top Contributors

[![brenodouglas](https://avatars.githubusercontent.com/u/3895280?v=4)](https://github.com/brenodouglas "brenodouglas (44 commits)")

### Embed Badge

![Health badge](/badges/brenodouglas-doctrineconfig/health.svg)

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

PHPackages © 2026

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