patchlevel/hydrator
This system is a PHP library for object hydration and data normalization, now architected around a middleware-based processing pipeline. It provides a flexible framework for converting between PHP objects and data arrays, featuring automatic type inference, lifecycle hooks, and transparent data encryption. The library supports extensible normalizers and metadata caching, enabling developers to customize every stage of the data transformation process.
64.9
Adequate · 4 August 2026
3.4k
lines of production code
PHP
primary language
1
bus factor · 5 authors in all
3
measurements over time
How it got here
2023 · Hydrator 2.0 refactor and metadata caching
This period was dominated by the complete refactoring of the hydration and normalization API into version 2.0, introducing a middleware-based architecture and context-aware normalizers. Concurrently, the metadata system was enhanced with caching support, an enricher pattern, and serialization capabilities. The work was supported by extensive updates to unit and benchmark tests to cover the new interfaces and performance requirements.
11 changes
2025–2026 · Middleware-based hydration and cryptography
This period focused on refactoring the core hydration and extraction logic into a flexible middleware pipeline, enabling modular extensions. It introduced a new type guesser system for automatic normalizer resolution and added a cryptography extension for transparent data encryption. Comprehensive unit tests were added to validate the new middleware stack, lifecycle hooks, and upcast transformations.
11 changes
Survey your own repository
patchlevel/hydrator was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 4 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit b0ef3df3de — the exact code this score is about.
- Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.