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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners