🔥 Laravel tip: Eloquent when
Feb 15, 2022
You can use the `when` method to avoid using if statements when you want to perform a query conditionally.
Other tips:
🔥 Laravel Tip: Merging eloquent collections
Sep 9, 2022