PHPackages                             saeven/circlical-collection-hydrator - 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. saeven/circlical-collection-hydrator

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

saeven/circlical-collection-hydrator
====================================

Hydrator strategy for Doctrine + Laminas Collections.

01.3k↓33.3%PHP

Since Sep 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Saeven/circlical-collection-hydrator)[ Packagist](https://packagist.org/packages/saeven/circlical-collection-hydrator)[ RSS](/packages/saeven-circlical-collection-hydrator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Collection Hydrator
===================

[](#collection-hydrator)

This is a collection hydrator that builds on available hydrators, that prevents cases when Doctrine issues duplicate key updates when Laminas Forms and Collections are involved. This issue can be evidenced [here](https://github.com/Saeven/CollectionHydration)

Usage
-----

[](#usage)

Installation is very simple, after installing the package with composer, in your form Factory, you will specify the hydrator strategy for your collection to be "CollectionDiffStrategy".

```
