Build a PHP Validator From Scratch
Sign in Get started
Playing
01. Introduction and demo
Source code

Episodes

0%
Your progress
  • Total: 1h 53m
  • Played: 0m
  • Remaining: 1h 53m
Join or sign in to track your progress
01. Introduction and demo
7m 57s
0%
02. Project structure and autoloading
7m 11s
0%
03. Loading in data and rules
2m 28s
0%
04. The Rule Object
6m 49s
0%
05. Performing our validation
7m 19s
0%
06. Pushing errors to an ErrorBag
5m 45s
0%
07. Checking and returning validation errors
2m 27s
0%
08. Using string based rules
8m 7s
0%
09. Allowing rules to have options
3m 17s
0%
10. Passing multiple options to string based rules
8m 1s
0%
11. Refactoring rule mapping
5m 59s
0%
12. Field aliases
3m 48s
0%
13. Testing a more complex rule
9m 10s
0%
14. Accessing aliases outside of the validator
4m 51s
0%
15. Wildcards: Extracting data
9m 57s
0%
16. Wildcards: Matching up data
7m 35s
0%
17. Wildcards: Finishing up validation
6m
0%
18. The special optional rule
6m 38s
0%
18 episodes•1 hr 53 mins•5 years ago

Overview

A validator featuring rule objects, string rule mapping, wildcard validation and more. All built completely from scratch with zero dependencies.

Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!

Episode discussion

No comments, yet. Be the first!