Data Transfer Object (DTO) is a pattern that if used correctly can improve the quality and the maintainability of applications. In this talk, I'll show why you should be using DTOs in your applications and how to do it in Laravel.
12. Validated DTOs
● Data validation the same way you validate a Request
● Easily define custom validation messages
● Type Casting out-of-the-box for your DTOs properties
● Support casting of nested data
● Easily create custom Type Casters for your own needs