It's been four years since I published the first version of https://github.com/spatie/data-transfer-object together with my then-colleagues at Spatie. Back then, PHP 7.3 was just around the corner and the package started out as a way to add complex runtime type checks for class properties. It gave programmers certainty about whether they were actually dealing with the right data in a typed way: class PostData extends DataTransferObject { public $property; public $property; public $property; public $property; public $property; public $property; public $property; public $property; public $property; } Fast forward a year to PHP 7.4, and typed properties were added.

It's better to give the package a worthy ending, than a slow death (which is already happening, kind of).
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners