PHPackages                             makinacorpus/generated-hydrator-bundle - 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. makinacorpus/generated-hydrator-bundle

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

makinacorpus/generated-hydrator-bundle
======================================

Provide integration of ocramius/generated-hydrator for Symfony

2.0.3(2y ago)15.3k↓50%[1 issues](https://github.com/makinacorpus/generated-hydrator-bundle/issues)3MITPHPPHP &gt;=8.0

Since Apr 15Pushed 2y ago11 watchersCompare

[ Source](https://github.com/makinacorpus/generated-hydrator-bundle)[ Packagist](https://packagist.org/packages/makinacorpus/generated-hydrator-bundle)[ RSS](/packages/makinacorpus-generated-hydrator-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (10)Versions (11)Used By (3)

ocramius/generated-hydrator Symfony &gt;=6.x bundle
===================================================

[](#ocramiusgenerated-hydrator-symfony-6x-bundle)

Integrates [ocramius/generated-hydrator](https://github.com/Ocramius/GeneratedHydrator)library with Symfony.

It also brings some new features:

- A nested hydrator, that from PHP properties type will cascade hydration into an object graph.
- Value hydrators, for each PHP type you can plug your own global hydrator implementation for dealing with custom types.
- Next planned feature will be object configuration using attributes.

Installation
============

[](#installation)

First install the dependency:

```
composer require makinacorpus/generated-hydrator-bundle
```

Then add into your `config/bundles.php` file:

```
