PHPackages                             krifollk/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. krifollk/hydrator

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

krifollk/hydrator
=================

A simple library which provide you possibility to hydrate and extract an object properties (private, protected) without using reflection.

0.2.0(9y ago)216MITPHPPHP &gt;=7.0

Since Feb 26Pushed 9y ago3 watchersCompare

[ Source](https://github.com/Krifollk/hydrator)[ Packagist](https://packagist.org/packages/krifollk/hydrator)[ RSS](/packages/krifollk-hydrator/feed)WikiDiscussions master Synced 3w ago

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

Hydrator library
================

[](#hydrator-library)

[![Build Status](https://camo.githubusercontent.com/f0db757d21bffd875deaac3ab5c09660932b07a301c82c6fa06a08c9104417cc/68747470733a2f2f7472617669732d63692e6f72672f4b7269666f6c6c6b2f6879647261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Krifollk/hydrator)

This is a simple library which provide you possibility to hydrate and extract an object properties (private, protected) without using reflection.

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

[](#requirements)

- PHP 7 and higher

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

[](#installation)

Install the latest version with

```
$ composer require krifollk/hydrator
```

Usage Example
-------------

[](#usage-example)

Example of hydration an object

```
