Learn how to cast JSON columns to DTOs with Laravel's custom casts
4 years ago
Sandulat shows us how to use custom casts, a new feature of Laravel 7 to get full autocomplete and type checking of JSON columns.
Link: