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

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

foamycastle/doctrine-config
===========================

a generic doctrine configuration wrapper

09PHP

Since Dec 7Pushed 5mo agoCompare

[ Source](https://github.com/foamycastle/doctrine-config)[ Packagist](https://packagist.org/packages/foamycastle/doctrine-config)[ RSS](/packages/foamycastle-doctrine-config/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Doctrine Connection Config
--------------------------

[](#doctrine-connection-config)

Use this package to configure Doctrine connections by using Symfony-style PHP configuration files.

### Usage

[](#usage)

```
use Foamycastle\Config\MySQLParams;
$config = MySQLParams::fromConfigFile('configFile.php');

//configFile.php
use Foamycastle\Config\MySQLSetParams;

return static function (MySQLSetParams $config) {
    $config
        ->setHost('db_host.com')
        ->setUser('db_user')
        ->setPassword(env('DB_PASSWORD'))
        ->setPort(3306)
        ->setDatabase('db_name')
        ->setCharset('utf8mb4');
}
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance49

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 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/5fe05bb67db609777435d4cd542009d849f2d1440568250e18227924f87ba714?d=identicon)[foamycastle](/maintainers/foamycastle)

---

Top Contributors

[![foamycastle](https://avatars.githubusercontent.com/u/74476626?v=4)](https://github.com/foamycastle "foamycastle (16 commits)")

### Embed Badge

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

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

PHPackages © 2026

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