eventsauce/object-hydrator
Magic-less object hydration and serialization for PHP. Map arrays/decoded JSON to DTOs, commands, queries, and events by inspecting constructors and public getters—no private-property reflection. Supports custom keys, casting, and optional code generation for speed.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/value-object | 0.80 | Deprecated Spatie package for PHP 8+ data transfer objects. Create typed DTOs from arrays with casting, validation, and attribute mapping (e.g., nested keys). Consider migrating to spatie/laravel-data or cuyz/valinor. | 2,227 | 2,179 | 189 | 0 | 0 | 12.9 | — | MIT | 3 years ago | |
| zendframework/zend-hydrator | 0.77 | Zend Hydrator provides strategies and tools to extract data from objects and hydrate objects from arrays in PHP. Supports naming strategies, custom hydrators, and flexible configuration, useful for forms, APIs, and domain model mapping. | 154 | 164 | 39 | 92K | 3 | 3.4 | 27.0 | BSD-3-Clause | 6 years ago | |
| zero-to-prod/data-model | 0.77 | Reflection-based PHP data models that hydrate from arrays/objects via a single from() call. Use attributes to centralize casting, validation, defaults, required/nullable rules, and assignment behavior—ideal for external data like APIs, DB rows, and user input. | 141 | 142 | 6 | 2K | 0 | 31.2 | 17.9 | MIT | 2 weeks ago | |
| mateusjunges/confluent-schema-registry-api | 0.76 | PHP 7.4+ client for Confluent Schema Registry REST API. Offers low-level PSR-7 request builders plus high-level async/sync abstractions, with optional caching support. Built on Guzzle and Avro PHP for schema handling. | 1 | 1 | 1 | 147K | 0 | 19.0 | 64.2 | MIT | 1 month ago | |
| laminas/laminas-hydrator | 0.75 | Laminas Hydrator provides flexible strategies to hydrate and extract data between objects and arrays. Supports reflection, class methods, naming strategies, and custom hydrators, making it easy to map entities, DTOs, and forms cleanly across your application. | 129 | 132 | 35 | 460K | 13 | 34.8 | 64.1 | BSD-3-Clause | 3 weeks ago | |
| symfony/object-mapper | 0.74 | Symfony Object Mapper component maps data from one object to another using PHP attributes. Simplifies DTO/entity transformations, supports configurable mapping rules, and integrates with the Symfony ecosystem. Documentation and contributions are handled in the main Symfony repository. | 35 | 35 | 2 | 183K | 0 | 28.9 | 60.1 | MIT | 2 weeks ago | |
| symfony/http-kernel | 0.73 | Symfony HttpKernel turns HTTP Requests into Responses via an event-driven workflow powered by EventDispatcher. It’s the core of Symfony’s request handling and flexible enough for full-stack frameworks, micro-frameworks, or CMS platforms like Drupal. | 8,121 | 8,141 | 98 | 15M | 0 | 62.9 | 52.9 | MIT | 1 week ago | |
| doctrine/orm | 0.73 | Doctrine ORM is an object-relational mapper for PHP 8.1+ providing transparent persistence for PHP objects on top of Doctrine DBAL. Includes Doctrine Query Language (DQL), an object-oriented SQL-like dialect for flexible querying without duplication. | 10,174 | 10,347 | 2,535 | 5M | 1,278 | 91.5 | 70.2 | MIT | 1 week ago | |
| christhompsontldr/phpsdk | 0.72 | PHP SDK for the Cloudways API. Install via Composer, authenticate with your email and API key, and manage Cloudways resources like servers, regions, providers, sizes, and apps. Includes helpers to check and wait for async operation status/results. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | — | 5 years ago | |
| spatie/data-transfer-object | 0.57 | PHP 8+ data transfer objects with “batteries included”: map and cast input arrays into typed DTOs, validate via attributes, and handle nested objects/collections. Note: package is deprecated; consider spatie/laravel-data or cuyz/valinor. | 2,227 | 2,192 | 189 | 509K | 0 | 12.9 | 23.0 | MIT | 3 years ago |
How can I help you explore Laravel packages today?