php-collective/dto
php-collective/dto is a lightweight PHP package for defining typed data transfer objects. Hydrate DTOs from arrays or Laravel requests, cast nested DTOs and collections, validate data, and keep application boundaries clean with simple, expressive classes.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-collective/symfony-dto | 0.86 | php-collective/symfony-dto brings typed DTOs to Symfony controllers, letting you map and validate request data into dedicated objects instead of raw arrays. It keeps request handling explicit, type-safe, and easier to maintain, with attribute-driven mapping and validation. | 0 | — | 0 | — | 0 | 7.0 | — | MIT | 7 months ago | |
| 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 | |
| check24/apitk-dtomapper-bundle | 0.86 | — | 2 | 2 | 3 | 0 | 0 | 2.9 | — | MIT | 4 years ago | |
| fresns/dto | 0.86 | Fresns DTO provides a simple, typed data transfer object layer for Laravel/PHP applications. Define structured payloads, transform and validate data, and serialize cleanly to arrays or JSON for APIs, requests, and service boundaries. | 1 | 1 | 1 | 206 | 0 | 10.2 | 30.3 | Apache-2.0 | 6 months ago | |
| juststeveking/parameterbag | 0.86 | A simple, framework-agnostic parameter bag for PHP. Wrap arrays of data in a typed object and access, validate, and manipulate values through a clean, readable API—ideal for request parameters, configuration, or DTO-style payloads. | 5 | 5 | 1 | 3K | 1 | 0.7 | 37.5 | — | 5 years ago | |
| cerbero/dto | 0.85 | 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 | — | |
| 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 | |
| cerbero/laravel-dto | 0.85 | 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 | — | |
| popo/generator | 0.85 | popo/generator scaffolds Plain Old PHP Object (POPO) classes from your database tables, reducing boilerplate and helping Laravel developers build a simple, maintainable data layer. | 20 | 21 | 0 | 137 | 0 | 14.6 | 13.7 | MIT | 3 months ago | |
| metglobal/dto-bundle | 0.85 | A Symfony bundle for working with data transfer objects (DTOs), making it easier to convert request or array data into typed PHP objects instead of loose arrays. Helps keep controllers and services cleaner by centralizing data mapping and structure. | 2 | 1 | 3 | 0 | 0 | 0.1 | — | MIT | — | |
| tenantcloud/data-transfer-objects | 0.85 | A lightweight PHP package for defining typed data transfer objects, making it easy to move structured data between layers of your Laravel application with clear, validated, and reusable DTO classes. | 4 | 4 | 1 | 2K | 0 | 0.1 | 35.5 | MIT | 1 year ago | |
| romanzipp/dto | 0.85 | 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 | 337 | 1 | 0.2 | 19.7 | MIT | — | |
| yorcreative/laravel-argonaut-dto | 0.85 | Laravel Argonaut DTO transforms arrays, objects, and collections into structured, immutable DTOs with deep nested casting, type-safe conversion, Laravel validation, attribute prioritization, and clean toArray/toJson serialization. | 106 | 105 | 6 | 2K | 0 | 19.9 | 21.1 | MIT | 1 month ago | |
| fsi/data | 0.85 | FSi Data is a lightweight Laravel package for building a clean data layer: typed data objects, mapping, and transformation utilities help move validated data between requests, models, and views without repetitive boilerplate, keeping application code predictable and easy to maintain. | 0 | 0 | 3 | 391 | 2 | 9.6 | 38.5 | — | 6 months ago | |
| dayploy/js-dto-bundle | 0.85 | — | 0 | 0 | 1 | 32 | 0 | 0.0 | 21.0 | MIT | — | |
| stas-plov/dto-validator-bundle | 0.85 | stas-plov/dto-validator-bundle adds DTO-based validation to PHP applications, letting you define rules for data transfer objects and keep request/input handling clean and reusable. A lightweight bundle for structured validation workflows. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | NOASSERTION | 2 years ago | |
| lambdish/phunctional | 0.85 | lambdish/phunctional is a functional programming toolkit for PHP and Laravel. It offers immutable collections, Option and Either types, currying, function composition, memoization, and pipeline helpers, making it easier to write expressive, side-effect-aware code without leaving familiar PHP. | 363 | — | 36 | — | 1 | 3.1 | — | MIT | 6 years ago |
|
| jobmetric/laravel-package-core | 0.85 | 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 | |
| olegkunitsyn/json-rpc-bundle | 0.85 | A Symfony bundle for building JSON-RPC 2.0 services, with request and response handling, method routing, structured error objects, and integration with the HTTP kernel and service container. Useful for exposing PHP application APIs to remote clients. | 0 | 0 | 0 | 2 | 0 | 0.3 | 6.6 | MIT | 2 years ago | |
| dreadnip/smart-dto-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.9 | — | MIT | 4 years ago |
How can I help you explore Laravel packages today?