🔥 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: Dispatch jobs conditionally.
Apr 11, 2022