rhapsony/view-model-hydrator
Hydrate view models from arrays, request data, or Eloquent models with a simple, type-safe API. A lightweight Laravel package that maps input into typed properties, keeping controllers clean and view data predictable.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| aljerom/simple-hydrator | 0.83 | — | 0 | 0 | 0 | 1 | 0 | 0.0 | 4.2 | — | — | |
| yiisoft/hydrator | 0.82 | 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 | |
| zendframework/zend-hydrator | 0.81 | 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 | |
| symplify/easy-hydrator | 0.81 | 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 | — | — | |
| xactsystems/type-hint-hydrator | 0.80 | TypeHintHydrator maps arrays and request data into typed PHP objects by reading constructor and property type hints, so you can skip hand-written mapping code. Supports nested objects, enums, and collections, and fits neatly into Laravel or any PHP project. | 0 | 0 | 0 | 34 | 6 | 21.2 | 27.1 | MIT | 2 weeks ago | |
| kobykorman/eloquentify | 0.80 | Eloquentify turns one custom SQL query with JSON-aggregated relations into fully hydrated nested Eloquent models, collapsing N+1 and R+1 round trips into a single query with zero configuration. | 20 | 20 | 0 | 457 | 0 | 13.6 | 20.7 | MIT | 4 months ago | |
| dam-bal/eloquentity | 0.80 | A Laravel package that extends Eloquent with entity-style models, helping you separate domain entities from database concerns while keeping familiar query building and relationships. Lightweight integration for cleaner, more maintainable applications. | 1 | — | 0 | — | 5 | 1.9 | 2.3 | MIT | 2 years ago | |
| minionfactory/raw-hydrator | 0.79 | Raw Hydrator is a small PHP package for turning raw data (arrays/records) into hydrated objects with minimal overhead. Useful for fast mapping of database results or API payloads into DTOs/entities without a full ORM. | 1 | 1 | 0 | 4K | 0 | 0.0 | 45.3 | MIT | — | |
| leocarmo/laravel-eloquent-model-filter | 0.79 | A Laravel package for adding declarative filters to Eloquent models. Define allowed filters once, apply them from request query strings, and keep complex query logic reusable, readable, and easy to test across your application. | 11 | 11 | 2 | 0 | 0 | 0.1 | — | — | 8 years ago | |
| spatie/laravel-view-models | 0.79 | Move complex view-prep logic out of controllers into dedicated Laravel view model classes. Extend Spatie\ViewModels\ViewModel to transform data for views, expose computed properties, and keep templates clean and focused. | 1,093 | 1,099 | 60 | 85K | 0 | 18.9 | 27.6 | MIT | 8 months ago | |
| binarytorch/model-updater | 0.79 | Laravel package for bulk-updating Eloquent models from CSV or Excel files. Map spreadsheet columns to model attributes, match records by key, and apply changes through a simple, configurable workflow—ideal for admin data imports and maintenance. | 40 | 38 | 1 | 0 | 0 | 0.1 | — | MIT | 6 years ago | |
| elipzis/laravel-pastable-model | 0.79 | Quickly duplicate Eloquent models in Laravel. Paste attribute values from an existing record into a new model while controlling which fields carry over, making record cloning and repeat data entry simple and configurable. | 11 | — | 1 | — | 0 | 0.5 | 0.8 | MIT | 2 years ago | |
| theofidry/eloquent-serializer | 0.79 | A lightweight serialization layer for Laravel Eloquent models. Define dedicated serializer classes to control which attributes and relationships are exposed, then turn models, collections, and paginated results into clean arrays for APIs and JSON responses. | 12 | 11 | 2 | 0 | 0 | 0.1 | — | MIT | 8 years ago | |
| spiral/models | 0.79 | Spiral DataEntity models package. Provides lightweight, type-safe data models/entities for your application with strong static analysis support (Psalm) and test coverage. Part of the Spiral ecosystem; MIT licensed. | 3 | 3 | 0 | 587 | 0 | 3.6 | 30.0 | MIT | 7 years ago | |
| watheqalshowaiter/model-fields | 0.79 | Easily add custom fields to Laravel Eloquent models with watheqalshowaiter/model-fields. A simple trait stores dynamic, validated attributes as JSON, letting you extend models without extra migrations or schema changes. | 40 | 39 | 3 | 9 | 0 | 13.2 | 1.3 | MIT | 4 months ago | |
| eag/easy-hydrator | 0.79 | — | 1 | 1 | 2 | 1K | 0 | 0.7 | 39.7 | MIT | 1 year ago | |
| wimski/laravel-model-repositories | 0.79 | A lightweight repository pattern for Laravel Eloquent models. Provides a base repository with common query and CRUD helpers plus contracts, so you can keep persistence logic organized, reusable, and easy to test. | 3 | 3 | 0 | 508 | 0 | 13.9 | 33.2 | MIT | 3 months ago |
How can I help you explore Laravel packages today?