nutgram/hydrator
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| azjezz/input-hydrator | 0.86 | — | 31 | 32 | 0 | 4 | 0 | 0.8 | 0.7 | MIT | 6 years ago | |
| unreal4u/telegram-api | 0.85 | A comprehensive PHP client for the Telegram Bot API that simplifies sending messages, media, locations, and inline keyboards, handling updates and webhooks, and building interactive bots with a clean, well-documented object-oriented interface. | 785 | — | 172 | — | 13 | 6.6 | 3.7 | MIT | 3 years ago |
|
| artyuum/request-dto-mapper-bundle | 0.85 | — | 51 | 51 | 0 | 159 | 0 | 1.3 | 8.4 | MIT | 3 years ago | |
| json-mapper/laravel-package | 0.85 | 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 | |
| azjezz/input-hydrator-bundle | 0.85 | — | 9 | 9 | 0 | 3 | 0 | 0.9 | 1.6 | MIT | 6 years ago | |
| woohoolabs/yin | 0.84 | PSR-7–compatible PHP framework for building JSON:API servers. Provides documents, resources, hydrators, request/response validation, pagination, relationship handling, content negotiation, middleware support, and custom serialization/deserialization. | 239 | 240 | 37 | 3K | 5 | 6.4 | 12.4 | MIT | 5 years ago | |
| cerbero/laravel-dto | 0.84 | Cerbero Laravel DTO provides a simple way to define typed data transfer objects in Laravel, with attribute casting, validation, and conversion from arrays, requests, and Eloquent models. It helps keep controllers and services clean by moving data shaping and validation into reusable DTO classes. | 58 | 59 | 2 | 69 | 0 | 0.4 | 4.7 | MIT | — | |
| patchlevel/hydrator | 0.84 | 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. | 19 | 19 | 4 | 23K | 2 | 30.2 | 53.5 | MIT | 2 weeks ago | |
| yiisoft/hydrator | 0.84 | 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 | |
| cerbero/dto | 0.84 | Cerbero DTO is a lightweight Laravel/PHP package for creating type-safe data transfer objects from arrays and requests. It supports property casting, validation, nested DTOs, and easy serialization, helping keep application data structured and predictable. | 17 | 19 | 5 | 717 | 0 | 0.3 | 22.3 | MIT | — | |
| 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 | |
| yiisoft/hydrator-validator | 0.84 | Integrates Yii Hydrator with Yii Validator to validate input data while hydrating typed objects and DTOs. Map arrays into objects and enforce validation rules in one step, reducing boilerplate and keeping data checks close to object construction. | 14 | — | 2 | — | 3 | 3.3 | 1.2 | BSD-3-Clause | 10 months ago |
|
| symplify/easy-hydrator | 0.84 | Symplify Easy Hydrator turns arrays into typed PHP objects via native attributes and constructor promotion. Map nested objects, arrays of objects, and custom keys without boilerplate or reflection code. A lightweight alternative to heavy serializers for clean DTO mapping in Laravel, Symfony, and pla... | 0 | 31 | — | 25 | — | 0.0 | 19.5 | — | — | |
| honeystone/laravel-dto-tools | 0.83 | 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 | — | |
| nutgram/nutgram | 0.83 | Nutgram is a Telegram bot framework for PHP with a familiar Laravel-style syntax. It offers typed updates, middleware, conversation handlers, inline keyboards, and a built-in testing harness, making it easy to build maintainable, feature-rich Telegram bots in PHP. | 757 | 753 | 82 | 56K | 2 | 25.5 | 31.3 | MIT | 1 month ago | |
| longman/telegram-bot | 0.83 | longman/telegram-bot is a mature PHP library for building Telegram bots with a clean object-oriented API. It supports commands, inline keyboards, conversations, admin tools, webhooks and long polling, with extensive docs and examples for rapid bot development. Suitable for simple scripts and large b... | 4,020 | 4,056 | 956 | 58K | 71 | 53.5 | 42.3 | MIT | 2 years ago | |
| aljerom/simple-hydrator | 0.83 | — | 0 | 0 | 0 | 1 | 0 | 0.0 | 4.2 | — | — | |
| zendframework/zend-hydrator | 0.83 | 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. | 151 | 164 | 39 | 71K | 3 | 3.4 | 26.2 | BSD-3-Clause | 7 years ago | |
| laminas/laminas-hydrator | 0.83 | 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 | |
| netmex/hydrator-bundle | 0.82 | 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 |
How can I help you explore Laravel packages today?