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

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

zucchi/doctrine
===============

Zucchi Extensions for Doctrine

0.31(10y ago)69463BSD-3-ClausePHPPHP &gt;=5.5.29

Since Nov 18Pushed 10y ago3 watchersCompare

[ Source](https://github.com/zucchi/ZucchiDoctrine)[ Packagist](https://packagist.org/packages/zucchi/doctrine)[ Docs](https://github.com/zucchi/ZucchiDoctrine)[ RSS](/packages/zucchi-doctrine/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (11)Versions (25)Used By (0)

ZucchiDoctrine
==============

[](#zucchidoctrine)

Custom Extensions to Doctrine 2 ORM for use with Zucchi ZF2 Modules

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

[](#installation)

From the root of your ZF2 Skeleton Application run

```
./composer.phar require zucchi/doctrine

```

Features
--------

[](#features)

- Automatic registration of Gedmo DoctrineExtensions
- Timestampable Trait
- Override of Date/Time Mappings to use Zucchi\\DateTime Extended classes
- Abstract Entity Class
- Abstract Service Class
- Custom DQL Regex Function
- EntityField View helper for handling output of different entity field types
- One To Many Form Population via Annotations
- EntityManagerAware Interface and Trait

OneToMany Annotation Example
----------------------------

[](#onetomany-annotation-example)

This example comes directly from the **ZucchiLayout** Module

```
    /**
     * @var PersistantCollection
     * @ORM\OneToMany(targetEntity="ZucchiLayout\Entity\Schedule", mappedBy="Layout")
     * @Form\Type("Zend\Form\Element\Collection")
     * @Form\Options({
     *     "label" : "Schedule",
     *     "count" : 2,
     *     "should_create_template" : true,
     *     "allow_add" : true,
     *     "allow_remove" : true,
     *     "target_element" : {
     *          "composedObject" : "ZucchiLayout\Entity\Schedule"
     *      }
     * })
     */
    public $Schedule;
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.1% 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 ~37 days

Recently: every ~17 days

Total

23

Last Release

3743d ago

PHP version history (2 changes)0.9PHP &gt;=5.4.1

0.10PHP &gt;=5.5.29

### Community

Maintainers

![](https://www.gravatar.com/avatar/08fa7f499733c5518af69da8396025243cc2091ac38b5f7d146b04fe4b55fc4a?d=identicon)[mattcockayne](/maintainers/mattcockayne)

---

Top Contributors

[![phpboyscout](https://avatars.githubusercontent.com/u/175238?v=4)](https://github.com/phpboyscout "phpboyscout (53 commits)")[![r-nicol](https://avatars.githubusercontent.com/u/2539311?v=4)](https://github.com/r-nicol "r-nicol (9 commits)")[![paul-crashley](https://avatars.githubusercontent.com/u/307618?v=4)](https://github.com/paul-crashley "paul-crashley (3 commits)")[![mgldev](https://avatars.githubusercontent.com/u/1909052?v=4)](https://github.com/mgldev "mgldev (2 commits)")

---

Tags

librarydoctrineextensionszf2

###  Code Quality

TestsCodeception

### Embed Badge

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

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

###  Alternatives

[hounddog/doctrine-data-fixture-module

Zend Framework 2 Module that provides Doctrine Data-Fixture functionality

37335.4k9](/packages/hounddog-doctrine-data-fixture-module)[mamuz/mamuz-blog

Provides blog feature for ZF2 with Doctrine

101.1k1](/packages/mamuz-mamuz-blog)

PHPackages © 2026

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