Released php-collective/dto - code-generated DTOs for PHP
With adapters for #Symfony, #Laravel, #CakePHP.
25-26x faster than reflection-based libraries (spatie/laravel-data, valinor)
Define in config, generate once, get plain PHP classes. Zero runtime overhead.
Also generates TypeScript types for your frontend.

GitHub - php-collective/dto: The easiest and fastest PHP DTO library in the world - quickly generate useful data transfer objects for your app (mutable/immutable)
The easiest and fastest PHP DTO library in the world - quickly generate useful data transfer objects for your app (mutable/immutable) - php-collective/dto