Define Casts in a Query

Laravel has Eloquent attribute and custom casting. But did you know about query-time casting? It's documented in Laravel, and illustrated beautifully by Aaron Francis.

Visit Define Casts in a Query
1,115 clicks - July 28th, 2023 - laravel-news.com