spatie/value-object
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/data-transfer-object | 0.90 | 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 | |
| dualmedia/symfony-request-dto-bundle | 0.88 | — | 0 | 7 | — | 114 | — | 28.3 | 19.0 | — | — | |
| dayploy/dart-dto-bundle | 0.88 | — | 0 | 0 | 0 | 91 | 0 | 0.0 | 27.1 | MIT | — | |
| open-southeners/laravel-dto | 0.88 | — | 10 | 10 | 1 | 90 | 2 | 26.8 | 16.4 | MIT | 1 month ago | |
| digital-craftsman/deserializing-connection | 0.88 | — | 0 | 0 | 0 | 457 | 0 | 20.4 | 41.8 | MIT | 2 months ago | |
| jenssegers/model | 0.87 | — | 396 | 397 | 56 | 53K | 17 | 14.1 | 35.9 | — | 1 year ago | |
| bujanov/dto-bundle | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| codememory/dto | 0.87 | 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 | |
| solido/dto-management | 0.87 | 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 | — | |
| artyuum/request-dto-mapper-bundle | 0.87 | — | 51 | 51 | 0 | 101 | 0 | 1.3 | 6.5 | MIT | 3 years ago | |
| bornfight/transfer-object-converter | 0.87 | — | 12 | 12 | 0 | 0 | 0 | 2.2 | 3.8 | MIT | 7 years ago | |
| dreadnip/smart-dto-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.9 | — | MIT | 3 years ago | |
| dayploy/js-dto-bundle | 0.86 | — | 0 | 0 | 1 | 68 | 0 | 0.0 | 25.0 | MIT | — | |
| bigyohann/symfony-dto-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.8 | — | — | 3 years ago | |
| adimeo-data-suite/commons | 0.86 | — | 0 | 0 | 5 | 0 | 1 | 0.3 | — | — | — | |
| redhotmagma/apibundle | 0.86 | Laravel package that bundles common API building blocks—helpers, responses, request validation, and boilerplate to speed up creating consistent JSON endpoints. Designed to reduce repetitive setup and keep API structure standardized across projects. | 0 | 0 | — | 296 | — | 0.0 | 34.2 | — | — | |
| wendelladriel/laravel-validated-dto | 0.85 | 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 | |
| dragon-code/simple-dto | 0.84 | 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. | 9 | 9 | 2 | 20K | 0 | 2.6 | 32.1 | MIT | 2 years ago | |
| spatie/laravel-data | 0.84 | Create rich, typed data objects for Laravel that replace form requests and API transformers. Automatically map from requests, validate with inferred rules, transform to resources (with lazy/partial fields), and generate TypeScript definitions from the same source. | 1,757 | 1,760 | 282 | 2M | 3 | 47.5 | 49.2 | MIT | 4 weeks ago | |
| spatie/string | 0.82 | Fluent string handling for PHP. Wrap strings with string() to get a chainable object with helpers like between(), case conversion, concatenation, and array-offset access for reading/updating characters. Lightweight utility by Spatie, installable via Composer. | 560 | 571 | 26 | 20K | 0 | 28.2 | 25.1 | MIT | 1 month ago |
How can I help you explore Laravel packages today?