#database #development #laravel #php
A must-read for everyone working with Laravel Eloquent:
This article is all about Laravel Eloquent. We love it, we use it, but there are a lot of hidden gems! For example:
- Did you know about invisible database columns?
- Or did you know that you can write an attribute accessor and mutator in one method using the Attribute cast?
- ...And don't forget about the Prunable trait!
In this article, you can read about my 36 favorite Eloquent recipes.
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.