This pattern is brilliant and can make your code much more clean and consistent
- ·
- Telegram
- ·
- Newsletter
🔥 I often find myself keeping validation rules in a method on the model. This lets me reuse them wherever I may need - including in controllers or form requests.