Laravel Pro Tips
So I heard y'all like types in your ORM.
Laravel allows you to define casts at the model level to handle casting values to their native types.
More interestingly, it also allows you to define them at query time, so you're not sacrificing the power of SQL 💅
No articles were found.