Skip to content

Glossary: Laravel

Validation

Also written: validate(), validation rules, rules

Checking input against rules such as required, numeric and unique before using it. If a rule fails, Laravel redirects back with errors, or answers 422 for JSON requests.

Where the book teaches it

Related terms

Status code@csrfMass assignment