Introduction
Custom validation rules let you check data in your own way when the built-in checks are not enough.
You want to check if a username is unique in a special way.
You need to validate a password with custom strength rules.
You want to verify a code format that Laravel does not support by default.
You want to reuse a complex validation logic in many places.
You want to keep your validation clean and organized.