dragon-code/simple-dto
Lightweight PHP DTO helper: define simple DataTransferObject classes, build instances via make(), map nested input keys to properties, and (optionally) cast values. Supports upgrade paths from older package names. Note: author recommends spatie/laravel-data instead.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| artyuum/request-dto-mapper-bundle | 0.84 | — | 51 | 51 | 0 | 101 | 0 | 1.3 | 6.5 | MIT | 3 years ago | |
| wendelladriel/laravel-validated-dto | 0.83 | Build typed Data Transfer Objects for Laravel that validate incoming data using familiar validation rules, defaults, and casting. Create DTOs by extending ValidatedDTO, define rules(), and get safe, validated, ready-to-use properties for your app. | 763 | 762 | 47 | 24K | 1 | 35.2 | 24.1 | MIT | 1 week ago | |
| spatie/data-transfer-object | 0.83 | PHP 8+ data transfer objects with “batteries included”: map and cast input arrays into typed DTOs, validate via attributes, and handle nested objects/collections. Note: package is deprecated; consider spatie/laravel-data or cuyz/valinor. | 2,227 | 2,192 | 189 | 509K | 0 | 12.9 | 23.0 | MIT | 3 years ago | |
| open-southeners/laravel-dto | 0.82 | — | 10 | 10 | 1 | 90 | 2 | 26.8 | 16.4 | MIT | 1 month ago | |
| dayploy/dart-dto-bundle | 0.82 | — | 0 | 0 | 0 | 91 | 0 | 0.0 | 27.1 | MIT | — | |
| bujanov/dto-bundle | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| dreadnip/smart-dto-bundle | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.9 | — | MIT | 3 years ago | |
| spatie/value-object | 0.81 | 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,227 | 2,179 | 189 | 0 | 0 | 12.9 | — | MIT | 3 years ago | |
| bigyohann/symfony-dto-bundle | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.8 | — | — | 3 years ago | |
| adrotec/odataphpprod | 0.80 | Unmaintained PHP OData (v2) producer/server library for exposing read-only data sources. Supports Atom and JSON, $metadata, feeds/entries/properties, paging and query options ($filter, $select, $expand, $orderby, $top, $skip), plus optional media streaming. | 6 | 6 | 3 | 0 | 0 | 0.7 | — | — | 9 years ago | |
| codememory/dto | 0.80 | 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. | 1 | 1 | 0 | 0 | 0 | 15.3 | — | MIT | 7 months ago | |
| larapack/dd | 0.79 | Adds Laravel-style dd() “dump and die” helper to any PHP app. Useful for non-Laravel projects or for overriding Laravel 4’s dd() with the Laravel 5 equivalent. Install via Composer and, on Laravel 4, require the helper in public/index.php. | 117 | 126 | 6 | 56K | 0 | 1.4 | 36.9 | MIT | 9 years ago | |
| solido/dto-management | 0.79 | 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 | 54 | 0 | 0.1 | 10.8 | MIT | — | |
| dayploy/js-dto-bundle | 0.79 | — | 0 | 0 | 1 | 68 | 0 | 0.0 | 25.0 | MIT | — | |
| adimeo-data-suite/commons | 0.78 | — | 0 | 0 | 5 | 0 | 1 | 0.3 | — | — | — | |
| symplify/easy-testing | 0.78 | Utilities for easier PHP unit testing, focused on writing cleaner tests with less boilerplate. Provides helpers and base test cases commonly used in Symplify tools to streamline assertions, fixture handling, and test setup across projects. | 41 | 42 | 3 | 46K | 0 | 0.1 | 29.7 | MIT | — | |
| cocur/vale | 0.78 | cocur/vale is a lightweight PHP value validation library. Define reusable rules to validate strings, numbers, arrays, and objects, and get clear, consistent results without pulling in a full framework—handy for DTOs, APIs, and input sanitization. | 14 | 14 | 1 | 3K | 0 | 0.7 | 31.7 | MIT | 11 years ago | |
| symplify/package-builder | 0.78 | Helper utilities for building Symfony/PHP packages: lightweight DI and service configuration, parameter resolution, class and file helpers, and tooling-friendly conventions. Designed to reduce boilerplate when composing reusable packages and developer tools. | 164 | 168 | 7 | 72K | 0 | 0.5 | 25.7 | MIT | — | |
| easy-doc/easy-doc | 0.78 | Easy Doc is a Laravel/PHP package for quickly generating and serving project documentation. It helps you organize docs, render them for the web, and keep content maintainable with a simple setup suitable for small apps and internal tools. | 4 | 4 | 4 | 5K | 0 | 5.9 | 41.8 | MIT | 11 months ago | |
| dualmedia/symfony-request-dto-bundle | 0.77 | — | 0 | 7 | — | 114 | — | 28.3 | 19.0 | — | — |
How can I help you explore Laravel packages today?