Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Data Transfer Object Laravel Package

spatie/data-transfer-object

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
spatie/value-object 0.86 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,233 2,179 190 0 0 22.9 MIT 3 years ago
View on GitHub
Context7
cocur/vale 0.84 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
View on GitHub
Context7
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 39K 0 12.6 58.4 MIT 2 years ago
View on GitHub
Context7
symplify/easy-testing 0.82 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
View on GitHub
Context7
yorcreative/laravel-argonaut-dto 0.81 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
View on GitHub
Context7
spatie/schema-org 0.81 Fluent PHP builder for Schema.org: generate any type and property from the full core vocabulary and output valid JSON-LD (ld+json) script tags. Generated from the official Schema.org JSON-LD, with documented classes and methods. 1,476 1,490 146 278K 0 40.8 37.0 MIT 1 month ago
View on GitHub
Deep Wiki
Context7
spatie/typed 0.80 Userland improved PHP type system with type inference and runtime checking: generics, union types, typed collections/lists, tuples, and structs. Proof-of-concept package from Spatie to add stronger type guarantees without language-level support. 319 321 15 3 0 11.9 0.1 MIT 5 years ago
View on GitHub
Context7
microsoft/azure-storage-common 0.80 Deprecated common PHP library shared by Azure Storage Blob, Table, Queue and File SDKs. Used mainly for releases; development and issues are in azure-storage-php. Azure Storage PHP client libraries retire 17 March 2024—see retirement notice for alternatives. 43 44 19 363K 4 24.6 65.0 MIT 4 years ago
View on GitHub
Context7
zendframework/zend-stdlib 0.79 Zend\Stdlib provides general-purpose utility components for PHP, including array helpers, messaging utilities, string wrappers, and more. Note: this repository was abandoned on 2019-12-31 and moved to laminas/laminas-stdlib. 378 398 70 175K 5 14.5 44.6 BSD-3-Clause 7 years ago
View on GitHub
Deep Wiki
Context7
wendelladriel/laravel-validated-dto 0.79 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
View on GitHub
Context7
spatie/laravel-data 0.68 Define rich, typed data objects once and use them for requests, validation, API resources/transformers, and TypeScript definitions. Create from arrays/requests/models, apply rules automatically, and transform only what’s needed with lazy properties. 1,720 1,726 277 2M 13 51.1 55.8 MIT 6 days ago
View on GitHub
Deep Wiki
Context7
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport