Have you used when() in the query builder?

- Cleaner than if (...)
- Easier to read and maintain

#Laravel #PHP #DevTips #CleanCode