🔥 Laravel Tip: You can filter by the relationship count with the `has` method
Dec 6, 2022
For example, get only posts that have at least 10 comments.
You can also combine this with a callback to specify more custom filters.
ex: get posts with more than 3 comments to form the current user.
You can also combine this with a callback to specify more custom filters.
ex: get posts with more than 3 comments to form the current user.

Other tips:
🔥 Laravel Tip: Merging eloquent collections
Sep 9, 2022
🔥 Laravel tip: Job Encryption
Mar 17, 2022
🔥 Laravel Tip: The upsert method
May 2, 2022