PHPackages                             stratadox/hydration-mapping-contracts - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. stratadox/hydration-mapping-contracts

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

stratadox/hydration-mapping-contracts
=====================================

v0.4(5y ago)09253MITPHPPHP &gt;=7.1

Since Jan 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Stratadox/HydrationMappingContracts)[ Packagist](https://packagist.org/packages/stratadox/hydration-mapping-contracts)[ RSS](/packages/stratadox-hydration-mapping-contracts/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (9)Used By (3)

Hydration Mapping Contracts
===========================

[](#hydration-mapping-contracts)

[![Latest Stable Version](https://camo.githubusercontent.com/e98ab84e54f78f93bc8baca9b32ab5fd56bccc24f815b6eacb6a725efec5e5c1/68747470733a2f2f706f7365722e707567782e6f72672f737472617461646f782f687964726174696f6e2d6d617070696e672d636f6e7472616374732f762f737461626c65)](https://packagist.org/packages/stratadox/hydration-mapping-contracts)[![License](https://camo.githubusercontent.com/c98a3005452e206125b39d0f57191e58a1de6246890190cbfbbfc5918c7351ad/68747470733a2f2f706f7365722e707567782e6f72672f737472617461646f782f687964726174696f6e2d6d617070696e672d636f6e7472616374732f6c6963656e7365)](https://packagist.org/packages/stratadox/hydration-mapping-contracts)

Mappings for hydration purposes.

Maps array or array-like data structures to object properties, in order to assemble the objects that model a business domain.

Why are there only interfaces in this package
---------------------------------------------

[](#why-are-there-only-interfaces-in-this-package)

This package exists to decouple the [hydrator](https://github.com/Stratadox/Hydrator)from it's default [mapping implementation](https://github.com/Stratadox/HydrationMapping).

In this setup, projects that only need the hydrator with no mapping won't need to import the mapping code. Conversely, projects can use the hydration mappings without having to deal with the hydrator itself.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~145 days

Recently: every ~232 days

Total

8

Last Release

2002d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5333260?v=4)[Stratadox](/maintainers/Stratadox)[@Stratadox](https://github.com/Stratadox)

---

Top Contributors

[![Stratadox](https://avatars.githubusercontent.com/u/5333260?v=4)](https://github.com/Stratadox "Stratadox (13 commits)")

### Embed Badge

![Health badge](/badges/stratadox-hydration-mapping-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/stratadox-hydration-mapping-contracts/health.svg)](https://phpackages.com/packages/stratadox-hydration-mapping-contracts)
```

###  Alternatives

[phpdocumentor/type-resolver

A PSR-5 based resolver of Class names, Types and Structural Element Names

9.2k719.5M166](/packages/phpdocumentor-type-resolver)[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M342](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
