🔥 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.
![tip-image-0](https://res.cloudinary.com/dpmeu3otn/image/upload/v1666547806/tips/newzfe20ol7jbzexp9kn.jpg)
Other tips:
🔥 Laravel Tip: Dispatch jobs conditionally.
Apr 11, 2022
🔥 Laravel Tip: Customizing The Resolution Logic
Apr 18, 2022