czim/laravel-dataobject
Lightweight data objects for Laravel: define typed properties, hydrate instances from arrays, and convert them back to arrays or JSON. A simple way to keep request, config, and domain data structured, consistent, and easy to pass around with minimal boilerplate.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| solido/dto-management | 0.88 | Manage, discover, and enhance DTOs in PHP apps with Solido DTO Management. Provides tools to register and locate DTO classes and apply enhancements consistently across your codebase. Documentation and contribution guides available. | 2 | 2 | 1 | 19 | 0 | 0.1 | 12.0 | MIT | — | |
| jobmetric/laravel-package-core | 0.88 | 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 | |
| wendelladriel/laravel-validated-dto | 0.87 | Validated DTOs for Laravel: extend ValidatedDTO, declare typed properties and validation rules, and get validated, cast, type-safe data objects from request payloads. Includes built-in casts and config publishing for cleaner controllers. | 774 | 774 | 46 | 54K | 1 | 26.3 | 28.0 | MIT | 5 months ago | |
| romanzipp/dto | 0.87 | Lightweight data transfer objects for PHP and Laravel. Define typed properties, cast and validate values, and convert DTOs to and from arrays with ease, keeping request and response data structured and type-safe. | 12 | 12 | 1 | 347 | 1 | 0.2 | 19.7 | MIT | — | |
| opportus/object-mapper-bundle | 0.87 | Symfony bundle that integrates the opportus/object-mapper library, registering mapper services and configuration in the dependency injection container to simplify object-to-object mapping. Helps reduce boilerplate when converting DTOs, entities, and domain objects in PHP applications. | 2 | 2 | 2 | 0 | 0 | 0.1 | — | MIT | 4 years ago | |
| dreadnip/smart-dto-bundle | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 0.9 | — | MIT | 4 years ago | |
| cerbero/laravel-dto | 0.87 | 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 | — | |
| artyuum/request-dto-mapper-bundle | 0.86 | — | 51 | 51 | 0 | 159 | 0 | 1.3 | 8.4 | MIT | 3 years ago | |
| json-mapper/laravel-package | 0.86 | 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 | |
| honeystone/laravel-dto-tools | 0.86 | 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 | — | |
| cerbero/dto | 0.86 | 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 | — | |
| zero-to-prod/data-model | 0.86 | DataModel hydrates PHP objects from external data with a single from($data) call using reflection and type hints. Validation and casting live in #[Describe] attributes (required, nullable, default, assign), replacing manual property wiring and scattered null checks. | 139 | 140 | 7 | 2K | 0 | 29.0 | 18.4 | MIT | 2 months ago | |
| codememory/dto | 0.86 | Auto-hydrate PHP/Symfony DTOs from request/array data using rules and decorators. Supports name conversion (e.g., snake_case), enum casting via attributes, and event hooks during processing. Build a manager with caching and reflection for fast mapping. | 2 | 1 | 0 | 24 | 0 | 8.4 | 13.2 | MIT | 1 year ago | |
| open-southeners/laravel-dto | 0.86 | — | 10 | 10 | 1 | 296 | 2 | 18.6 | 23.5 | MIT | 6 months ago | |
| bujanov/dto-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| spatie/value-object | 0.85 | 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,221 | 2,223 | 187 | 0 | 0 | 12.9 | — | MIT | 4 years ago | |
| jessarcher/laravel-castable-data-transfer-object | 0.85 | A Laravel package that lets Eloquent models cast attributes directly to data transfer objects, keeping structured data typed and clean while handling JSON serialization automatically. Ideal for replacing loose arrays with explicit DTO classes. | 325 | 333 | 22 | 2K | 3 | 1.7 | 8.3 | MIT | 3 years ago | |
| romanzipp/laravel-dto | 0.85 | A lightweight base class for building Data Transfer Objects in Laravel. Define typed properties, cast nested DTOs and collections, and hydrate from arrays or requests, giving your app predictable, self-validating data objects instead of loose arrays. | 11 | 11 | 2 | 125 | 1 | 0.3 | 14.7 | MIT | — | |
| dragon-code/simple-data-transfer-object | 0.85 | dragon-code/simple-data-transfer-object offers a lightweight way to define typed data transfer objects in Laravel and PHP applications, helping you move structured data between layers with less boilerplate and clearer, more predictable code. Ideal for request payloads, API responses, and service bou... | 9 | 8 | 2 | 43 | 0 | 0.1 | 7.1 | MIT | 2 years ago | |
| coder-at-heart/object-models | 0.85 | — | 5 | 6 | 0 | 1 | 0 | 0.0 | 0.9 | MIT | — |
How can I help you explore Laravel packages today?