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

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

sunrise/hydrator
================

A flexible strictly-typed hydrator.

v3.18.0(1y ago)1231.1k↓35.2%24MITPHPPHP &gt;=7.4

Since Mar 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sunrise-php/hydrator)[ Packagist](https://packagist.org/packages/sunrise/hydrator)[ Docs](https://github.com/sunrise-php/hydrator)[ RSS](/packages/sunrise-hydrator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (58)Used By (4)

A flexible strictly-typed hydrator
==================================

[](#a-flexible-strictly-typed-hydrator)

Resources
---------

[](#resources)

- [Documentation](https://dev.sunrise-studio.io/docs/packages/sunrise/hydrator/)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance47

Moderate activity, may be stable

Popularity36

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 99.2% 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 ~41 days

Recently: every ~14 days

Total

37

Last Release

394d ago

Major Versions

v1.4.0 → v2.0.02021-10-22

v2.7.0 → v3.0.02023-06-08

PHP version history (2 changes)v1.0.0PHP ^7.4|^8.0

v2.6.0PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2872934?v=4)[Anatolii Nekhai](/maintainers/fenric)[@fenric](https://github.com/fenric)

---

Top Contributors

[![fenric](https://avatars.githubusercontent.com/u/2872934?v=4)](https://github.com/fenric "fenric (129 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

dtohydratorphphydratorsunrisefenric

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sunrise-hydrator/health.svg)

```
[![Health](https://phpackages.com/badges/sunrise-hydrator/health.svg)](https://phpackages.com/packages/sunrise-hydrator)
```

###  Alternatives

[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k9.2M108](/packages/cuyz-valinor)[sunrise/vin

VIN decoder for PHP 7.1+ based on ISO-3779

83127.0k](/packages/sunrise-vin)[samdark/hydrator

Allows to extract data from an object or create a new object based on data for the purpose of persisting state. Works with private and protected properties.

11476.9k](/packages/samdark-hydrator)[sunrise/slugger

Slugger for PHP 7.1+ based on ICU

108.3k](/packages/sunrise-slugger)[nutgram/hydrator

Hydrator for PHP 8.0+

12265.2k6](/packages/nutgram-hydrator)

PHPackages © 2026

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