PHPackages                             pierophp/doctrine2eloquent - 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. [Database &amp; ORM](/categories/database)
4. /
5. pierophp/doctrine2eloquent

ActiveLibrary[Database &amp; ORM](/categories/database)

pierophp/doctrine2eloquent
==========================

Doctrine 2 Eloquent

07PHP

Since Sep 23Pushed 9y agoCompare

[ Source](https://github.com/pierophp/doctrine2eloquent)[ Packagist](https://packagist.org/packages/pierophp/doctrine2eloquent)[ RSS](/packages/pierophp-doctrine2eloquent/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Doctrine2Eloquent
=================

[](#doctrine2eloquent)

Created to convert YML doctrine to eloquent models

Usage
-----

[](#usage)

```
app/console doctrine2eloquent:yamlconverter --yaml_path src/AcmeBundle/Resources/config/doctrine --model_path src/AcmeBundle/Model --model_namespace AcmeBundle\\Model

```

Params
------

[](#params)

### --yaml\_path

[](#--yaml_path)

Required. The YML path of doctrine definitions

### --model\_path

[](#--model_path)

Required. The path of the Eloquent models to be generated

### --model\_namespace

[](#--model_namespace)

Required. The namespace of Eloquent models to be generated

### --model\_prefix

[](#--model_prefix)

Optional. The prefix of Eloquent models to be generated

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

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://avatars.githubusercontent.com/u/125132?v=4)[Piero](/maintainers/pierophp)[@pierophp](https://github.com/pierophp)

---

Top Contributors

[![pierophp](https://avatars.githubusercontent.com/u/125132?v=4)](https://github.com/pierophp "pierophp (12 commits)")

### Embed Badge

![Health badge](/badges/pierophp-doctrine2eloquent/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M114](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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