patchlevel/hydrator
Hydrate objects to arrays and back without calling constructors. Supports final and readonly classes, nested structures, enums, dates, lazy hydration, field renaming, and metadata caching with a developer-friendly, fully typed API.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| json-mapper/laravel-package | 0.87 | Map JSON payloads and arrays into typed PHP objects and DTOs with this Laravel package. A fluent API defines field mappings, nested structures, and collections, with clean integration into Laravel's container, facades, and config. | 25 | 25 | 5 | 12K | 0 | 8.9 | 39.4 | MIT | 7 months ago | |
| yiisoft/hydrator | 0.86 | Yii Hydrator populates typed objects from arrays and other input using attributes and property mapping. It handles type casting, nested hydration, and dependency injection, offering PHP and Laravel apps a fast, flexible alternative to manual DTO construction. | 34 | 34 | 6 | 24K | 12 | 6.6 | 44.1 | BSD-3-Clause | 10 months ago | |
| netmex/hydrator-bundle | 0.86 | Netmex Hydrator Bundle brings configurable object hydration to Symfony applications, converting arrays, request data, or API payloads into typed DTOs and entities. It offers reusable hydrators, attribute-based mapping, and extension points for custom transformations with minimal boilerplate. | 0 | 0 | 0 | 3 | 0 | 19.1 | 9.7 | — | 3 weeks ago | |
| troytft/data-mapper-bundle | 0.85 | A Symfony bundle for troytft/data-mapper that simplifies mapping arrays and objects into typed DTOs. Configure your mappings and let the mapper handle conversion, reducing repetitive hydration code across controllers and services. | 8 | 9 | 3 | 41 | 0 | 0.1 | 10.3 | — | 4 years ago | |
| silpo-tech/mapper-bundle | 0.85 | A Symfony bundle for silpo-tech/mapper that automatically configures object-to-object and array mapping services. Register mappers, define mapping profiles, and convert DTOs, entities, and arrays with minimal boilerplate, keeping domain and transport layers clean and decoupled. | 0 | 0 | 1 | 446 | 0 | 8.1 | 39.2 | MIT | 7 months ago | |
| mark-gerarts/automapper-plus-bundle | 0.85 | Symfony bundle integrating AutoMapper+ for object mapping. Register mappings with AutoMapperConfiguratorInterface, autowire the automapper_plus.mapper service or AutoMapperInterface, and use automatic tagging with service autoconfiguration. Supports Symfony 3.4 through 8.x. | 65 | 66 | 11 | 46K | 4 | 18.3 | 44.5 | MIT | 4 months ago | |
| opportus/object-mapper | 0.85 | Opportus ObjectMapper is a PHP library for mapping data between objects and arrays with configurable strategies. It helps transform DTOs and entities cleanly, reducing repetitive boilerplate in Laravel and plain PHP projects. | 18 | — | 1 | — | 0 | 0.1 | — | MIT | 4 years ago |
|
| michael-rubel/laravel-enhanced-container | 0.85 | A lightweight extension for Laravel’s service container, offering convenient helpers for binding, resolving, and managing dependencies. Simplify contextual bindings, singletons, and instance handling while keeping service providers clean, expressive, and easier to test. | 88 | 88 | 3 | 562 | 0 | 0.8 | 11.9 | MIT | 1 year ago | |
| laminas/laminas-hydrator | 0.85 | Laminas Hydrator converts arrays into objects and extracts objects back into arrays. It supports naming strategies, filters, hydration/extraction strategies, nested objects, and reusable data mapping for PHP applications. | 129 | 132 | 35 | 500K | 12 | 33.9 | 64.2 | BSD-3-Clause | 1 month ago | |
| honeystone/laravel-dto-tools | 0.84 | Honeystone's Laravel DTO Tools provides a lightweight base DTO with validation, casting, serialization, and Eloquent integration, making it easy to move typed, validated data between requests, services, and models in Laravel applications. | 52 | — | 1 | — | 0 | 0.3 | — | MIT | — | |
| lde/api-helper | 0.84 | A Laravel/PHP helper package that streamlines API development with reusable utilities for consistent JSON responses, error handling, and request/response conveniences, helping you build cleaner, more maintainable APIs faster. | 5 | 5 | 3 | 47 | 0 | 0.2 | 13.1 | MIT | 4 years ago | |
| azjezz/input-hydrator | 0.84 | — | 31 | 32 | 0 | 4 | 0 | 0.8 | 0.7 | MIT | 6 years ago | |
| jobmetric/laravel-package-core | 0.84 | A core foundation for building Laravel packages with JobMetric: shared service providers, configuration handling, migrations, and helper utilities that standardize structure and speed up development. | 11 | — | 1 | — | 0 | 0.4 | — | MIT | 1 year ago | |
| fabricio872/api-modeller-bundle | 0.84 | API Modeller Bundle is a Symfony package for defining and generating API models from your application's entities and schemas. It aims to streamline endpoint scaffolding and keep request/response structures consistent. Early-stage with limited documentation and adoption, so evaluate fit carefully. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | 4 years ago | |
| slick/di | 0.84 | Slick\DI is a lightweight dependency injection container for PHP that wires services through autowiring, explicit bindings, and lazy resolution. It offers a small, PSR-11 friendly API for managing object lifecycles in Laravel, Slim, and standalone applications. | 0 | 0 | 0 | 232 | 0 | 0.0 | 32.7 | NOASSERTION | 2 years ago | |
| league/object-mapper | 0.84 | A lightweight object-to-object mapper for PHP that converts one class into another using reflection and PHP attributes. Define property mappings, handle nested objects, arrays, and collections, and reduce boilerplate when transforming DTOs, entities, and API payloads. | 36 | 36 | 4 | 1K | 3 | 1.0 | 21.8 | MIT | — | |
| mapado/rest-client-sdk | 0.84 | A PHP toolkit for building REST API client SDKs. mapado/rest-client-sdk provides a structured base for wrapping HTTP endpoints, handling requests, responses, and serialization so you can expose a clean, reusable client API around any REST service. | 11 | — | 3 | — | 8 | 2.9 | 4.2 | MIT | — |
|
| apivalk/apivalk | 0.84 | Apivalk is a Laravel package for building and versioning clean, structured APIs with minimal boilerplate. It helps you organize endpoints, resources, and responses so your PHP API stays consistent, maintainable, and easy to scale. | 5 | — | 4 | — | 16 | 24.6 | 6.2 | MIT | 2 weeks ago | |
| aljerom/simple-hydrator | 0.84 | — | 0 | 0 | 0 | 1 | 0 | 0.0 | 4.2 | — | — | |
| nutgram/hydrator | 0.84 | nutgram/hydrator is a lightweight PHP library for turning arrays into typed objects, with support for nested DTOs, type casting, and attribute-driven mapping. It integrates smoothly with Nutgram and Laravel-style workflows, reducing boilerplate when working with API payloads and Telegram updates. | 11 | 11 | 1 | 49K | 0 | 14.7 | 56.3 | MIT | 3 months ago |
How can I help you explore Laravel packages today?