romanzipp/dto
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| romanzipp/laravel-dto | 0.88 | 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 | 128 | 1 | 0.3 | 14.7 | MIT | — | |
| pfilsx/dto-param-converter-bundle | 0.88 | A Symfony bundle that converts request parameters into typed DTOs via a param converter, keeping controllers clean and making input handling more explicit, reusable, and testable. | 7 | 7 | 1 | 601 | 0 | 0.1 | 26.0 | MIT | 3 years ago | |
| fabricio872/api-modeller | 0.88 | fabricio872/api-modeller is a Laravel/PHP package for defining and generating API models, helping you scaffold consistent resources and speed up backend development. It streamlines model setup so you can focus on building endpoints and business logic. | 0 | 0 | 0 | 22 | 0 | 0.0 | 18.8 | MIT | 4 years ago | |
| stas-plov/dto-validator-bundle | 0.88 | 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 | |
| michael-rubel/laravel-value-objects | 0.88 | Laravel Value Objects offers an abstract base class and Eloquent casts for turning model attributes into immutable value objects, with validation, comparison helpers, and PHP 8 support for cleaner, type-safe domain code. | 205 | 205 | 18 | 158 | 1 | 2.2 | 3.8 | MIT | 1 year ago | |
| oi-lab/oi-laravel-ts | 0.88 | A Laravel package that automatically generates TypeScript interfaces from your Eloquent models, with relationship support, custom casts, DataObjects, PHPDoc types, watch mode, and namespace filters for customization. | 1 | 1 | 0 | 259 | 0 | 19.8 | 34.0 | MIT | 1 month ago | |
| open-southeners/laravel-dto | 0.88 | — | 10 | 10 | 1 | 282 | 2 | 18.7 | 23.2 | MIT | 6 months ago | |
| nolanos/laravel-model-typescript-transfomer | 0.88 | Generates TypeScript definitions for Laravel Eloquent models via spatie/laravel-typescript-transformer. Maps database column types to TypeScript, respects hidden/visible fields, handles nullable columns, and works with php artisan typescript:generate. | 0 | 7 | — | 275 | — | 1.8 | 33.7 | — | — | |
| michaelalexeevweb/openapi-php-dto-generator | 0.88 | Generate PHP DTO classes directly from OpenAPI specifications. This package parses your schema and produces typed, ready-to-use data transfer objects with constructor properties, type hints, and nested object support—reducing manual boilerplate and keeping code in sync with your API contract. | 5 | — | 0 | — | 0 | 20.3 | — | MIT | 1 day ago | |
| fabricio872/api-modeller-bundle | 0.88 | 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 | |
| php-standard-library/type | 0.87 | Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. | 1 | 1 | 0 | 114K | 0 | 21.4 | 64.8 | MIT | 1 week 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 | |
| svb/dto-generator-bundle | 0.87 | A Symfony bundle that generates typed DTO classes from your entities, arrays, or config, complete with constructors, getters, setters, and mapping helpers. A console command lets you scaffold and regenerate DTOs quickly, reducing boilerplate in your service and API layers. | 0 | 0 | 0 | 3K | 0 | 0.0 | 48.6 | MIT | — | |
| yorcreative/laravel-argonaut-dto | 0.87 | 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 | |
| maartenpaauw/laravel-specification-pattern | 0.87 | A Laravel package for the specification pattern, letting you encapsulate business rules into reusable, composable specifications and apply them to Eloquent queries or collections for cleaner, testable domain logic. | 15 | — | 1 | — | 0 | 8.7 | — | MIT | 7 months ago | |
| nelexa/request-dto-bundle | 0.87 | Symfony bundle for mapping HTTP request data into typed DTOs with attribute-based configuration, validation, and automatic hydration. Reduce controller boilerplate by turning query, body, and route parameters into clean, testable request objects, with support for nested DTOs and Symfony Validator. | 9 | 9 | 3 | 711 | 0 | 0.1 | 25.7 | MIT | 4 years ago | |
| honeystone/laravel-dto-tools | 0.87 | 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 | — | |
| jobmetric/laravel-package-core | 0.86 | 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 | |
| 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 | — |
How can I help you explore Laravel packages today?