PHPackages                             bluecloudy/yiidoctrine2 - 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. bluecloudy/yiidoctrine2

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

bluecloudy/yiidoctrine2
=======================

This is an extension for the Yii Framework that integrates Doctrine 2 ORM &amp; ODM projects

118

Since May 5Pushed 12y ago1 watchersCompare

[ Source](https://github.com/bluecloudy/yiidoctrine2)[ Packagist](https://packagist.org/packages/bluecloudy/yiidoctrine2)[ RSS](/packages/bluecloudy-yiidoctrine2/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii Doctrine 2
==============

[](#yii-doctrine-2)

This is an extension for the Yii Framework that integrates Doctrine 2 ORM &amp; ODM projects

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

[](#requirements)

- PHP 5.3.2 (or later)\*
- YiiFramework 1.1.14 (or later)

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

[](#installation)

### Installing Manually

[](#installing-manually)

1. Download and place the 'yiidoctrine2' directory in your Yii extension directory.
2. In config/main.php you will need to add the YiiDoctrine alias. This allows for flexability in where you place the extension.

```
	'aliases' => array(
		.. .
        'YiiDoctrine' => realpath(__DIR__ . '/../extensions/bluecloudy/yiidoctrine2'),
        .. .
	),
```

1. Include ext.bluecloudy.YiiDoctrine.components.YDComponent.

```
	'components' => array(
		'doctrine'=>array(
			'class' => 'YiiDoctrine.components.YDComponent',
			'basePath'      => dirname(__FILE__),
			'proxyPath'     => dirname(__FILE__).'/proxies',
			'entityPath'    => array(
				dirname(__FILE__).'/models'
			),
			'cachePath'  => dirname(dirname(__FILE__)) . '/cache',
			'db' => array(
				'driver' => 'pdo_sqlite',
				'path' => dirname(__FILE__).'/data/blog.db'
			)
		)
	)
```

### Installing With [Composer](http://getcomposer.org)

[](#installing-with-composer)

```
{
    "require": {
        "bluecloudy/yiidoctrine2": "dev-master"
    }
}
```

1. In config/main.php you will need to add the YiiDoctrine alias. This allows for flexability in where you place the extension.

```
	'aliases' => array(
		.. .
		//Path to your Composer vendor dir plus vendor/bluecloudy path
		'YiiDoctrine' =>realpath(__DIR__ . '/../../vendor/bluecloudy/yiidoctrine2/bluecloudy/yiidoctrine2'),
        .. .
	),
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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/bb63bde31b018f45edd96368b5a869661480392e25d5ab977506056605e68908?d=identicon)[bluecloudy](/maintainers/bluecloudy)

---

Top Contributors

[![bluecloudy](https://avatars.githubusercontent.com/u/863615?v=4)](https://github.com/bluecloudy "bluecloudy (11 commits)")

### Embed Badge

![Health badge](/badges/bluecloudy-yiidoctrine2/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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