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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| wendelladriel/laravel-validated-dto | 0.82 | Create Data Transfer Objects that validate input on instantiation. Define rules once and reuse them across controllers, services, jobs, and CLI commands—reducing duplication and keeping validation decoupled from HTTP requests. Compatible with Laravel 11–13. | 760 | 759 | 46 | 26K | 1 | 34.9 | 25.3 | MIT | 4 weeks ago | |
| spatie/data-transfer-object | 0.81 | 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,233 | 2,192 | 190 | 543K | 0 | 22.9 | 38.8 | MIT | 3 years ago | |
| yorcreative/laravel-argonaut-dto | 0.80 | Lightweight, composable Laravel DTO package to transform arrays/objects/collections into typed, validated data objects. Supports deep nested casting, type-safe conversion, Laravel Validator rules, explicit attribute priority, clean toArray/toJson serialization, and immutable readonly DTOs. | 106 | 106 | 4 | 406 | 0 | 22.2 | 11.1 | MIT | 1 month 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. | 116 | 125 | 6 | 48K | 0 | 21.4 | 42.5 | MIT | 9 years ago | |
| 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 | 20.7 | 37.1 | 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. | 165 | — | 7 | — | 0 | 0.5 | — | 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 | 25.0 | 48.3 | MIT | 9 months ago | |
| symplify/easy-testing | 0.77 | 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 | 29K | 0 | 0.1 | 27.7 | MIT | — |
How can I help you explore Laravel packages today?