Set of DTO Tools for Laravel
"DTO tools is a package designed to bring additional power and convenience to your native PHP data transfer objects.
The main motivation for this package was to remove much of the boilerplate created moving data in to and out of DTOs. For example, transforming snake-cased model attributes to camel-cased to be consumed by your presentation layer, or casting a user inputted numerical string (after validation ofc) to an integer.
Features include property casting and mutation, serialization, patch data handling, relationships, and model and collection transformation."