PHPackages                             stratadox/hydration-mapper - 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. stratadox/hydration-mapper

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

stratadox/hydration-mapper
==========================

v2.4(8y ago)12622MITPHPPHP &gt;=7.1

Since Jan 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Stratadox/HydrationMapper)[ Packagist](https://packagist.org/packages/stratadox/hydration-mapper)[ RSS](/packages/stratadox-hydration-mapper/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (9)Versions (11)Used By (2)

Hydration Mapper
================

[](#hydration-mapper)

[![Build Status](https://camo.githubusercontent.com/7d7b3f20c3dd2af09a5db7fcc99d54b0683afb8632d43dd67a9c646eaa5726ab/68747470733a2f2f7472617669732d63692e6f72672f537472617461646f782f487964726174696f6e4d61707065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Stratadox/HydrationMapper)[![Coverage Status](https://camo.githubusercontent.com/080798bf9b9599fded89b5b254e402713fd365b77969fe154d692f066619b05b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f537472617461646f782f487964726174696f6e4d61707065722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Stratadox/HydrationMapper?branch=master)[![Infection Minimum](https://camo.githubusercontent.com/416cfd74a77aee9719fd9a0c0b5f9dd6970485b055c1e9a4cd01ce05e08a1754/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d73692d3130302d627269676874677265656e2e737667)](https://travis-ci.org/Stratadox/HydrationMapper)[![PhpStan Level](https://camo.githubusercontent.com/e58915c82e085736fd9da556ddfcae809f3d34c62575773ffeae09481619c66a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068707374616e2d372d627269676874677265656e2e737667)](https://travis-ci.org/Stratadox/HydrationMapper)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/64717b81bbc1cc11c0ed68b3279355930ac7689f137da12db0e4571e7abc917e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f537472617461646f782f487964726174696f6e4d61707065722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Stratadox/HydrationMapper/?branch=master)[![Maintainability](https://camo.githubusercontent.com/cdafba3ef12141239b8364c7cc56d1ba07b7cecbfc3e3fb0602338a62dc5fca5/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36333730633239346666333364656339356332352f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/Stratadox/HydrationMapper/maintainability)[![Latest Stable Version](https://camo.githubusercontent.com/95188410b666bae9751c3334e8704df68ad9e2e404f9cfa160ec18ee72e2a0f1/68747470733a2f2f706f7365722e707567782e6f72672f737472617461646f782f687964726174696f6e2d6d61707065722f762f737461626c65)](https://packagist.org/packages/stratadox/hydration-mapper)[![License](https://camo.githubusercontent.com/ea098899abac6676e0e52eae3f44096a0bdad08a714f35b4d32adfd639b210c7/68747470733a2f2f706f7365722e707567782e6f72672f737472617461646f782f687964726174696f6e2d6d61707065722f6c6963656e7365)](https://packagist.org/packages/stratadox/hydration-mapper)

[![Implements](https://camo.githubusercontent.com/22310323fd7a1ed5523bcaf5b168314c35a6ce539c298534ea228e4a5f723489/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f696e66657266616365732d6769746875622d626c75652e737667)](https://github.com/Stratadox/HydrationMapperContracts)[![Latest Stable Version](https://camo.githubusercontent.com/086fa8472d578f61759a43037854e55a12f7b737595fea72eb0464c40a532e4c/68747470733a2f2f706f7365722e707567782e6f72672f737472617461646f782f687964726174696f6e2d6d61707065722d636f6e7472616374732f762f737461626c65)](https://packagist.org/packages/stratadox/hydration-mapper-contracts)[![License](https://camo.githubusercontent.com/980005dd9e8d6bb7f7c2dbfcc892874b50df2ec0a80d775a6b1b0f047e742201/68747470733a2f2f706f7365722e707567782e6f72672f737472617461646f782f687964726174696f6e2d6d61707065722d636f6e7472616374732f6c6963656e7365)](https://packagist.org/packages/stratadox/hydration-mapper-contracts)

Mapping builder for hydration purposes; maps array or array-like data structures to object properties, in order to assemble the objects that model a business domain.

Usage sample
============

[](#usage-sample)

```
