Source Code of Laravel Framework's Validation Rules
Leonel Elimpe
by Leonel Elimpe
~1 min read


  • Laravel
  • PHP

If you’d like to view the source code of Laravel’s validation rules on Github, have a look here Validator.php#L1102.

After a long search through the Laravel Github repositories, I finally had a break and found the link through this Stackoverflow answer. I wanted to see how the framework actually validates integers.