PHPackages                             anonymous-php/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. anonymous-php/hydrator

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

anonymous-php/hydrator
======================

Hydrate your anemic models fast and easily

2.0.4(6y ago)031MITPHPPHP ^7CI failing

Since Jan 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/anonymous-php/hydrator)[ Packagist](https://packagist.org/packages/anonymous-php/hydrator)[ RSS](/packages/anonymous-php-hydrator/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Hydrator [![Build Status](https://camo.githubusercontent.com/5ee81617e143c84718dca75a188ee0f2697a9309b5996f9ca1b45824c3268462/68747470733a2f2f7472617669732d63692e6f72672f616e6f6e796d6f75732d7068702f6879647261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/anonymous-php/hydrator) [![Latest Stable Version](https://camo.githubusercontent.com/fdd0ef7420eb98a392b1f117a83189de7416c1e6888498d0b70c394ce02c8ba5/68747470733a2f2f706f7365722e707567782e6f72672f616e6f6e796d6f75732d7068702f6879647261746f722f762f737461626c65)](https://packagist.org/packages/anonymous-php/hydrator) [![Total Downloads](https://camo.githubusercontent.com/f3d4ae8775213a4ef538e6859b55abb237dc1078984a6da449f2474bcbf7ea6d/68747470733a2f2f706f7365722e707567782e6f72672f616e6f6e796d6f75732d7068702f6879647261746f722f646f776e6c6f616473)](https://packagist.org/packages/anonymous-php/hydrator?format=flat) [![License](https://camo.githubusercontent.com/02b57ace929368f3bf79d4c3f2a64afaaeba30c3d20bd338cad53cba136ba2e5/68747470733a2f2f706f7365722e707567782e6f72672f616e6f6e796d6f75732d7068702f6879647261746f722f6c6963656e7365)](https://packagist.org/packages/anonymous-php/hydrator)
==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#hydrator----)

This library gives you the possibility to hydrate your anemic models even if they contains private properties.

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

[](#installation)

```
composer require anonymous-php/hydrator

```

Example
-------

[](#example)

```
