Learn how to cast JSON columns to DTOs with Laravel's custom casts
2 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:
This post is submitted by one of our members. You may submit a new post here.