Speaker Deck

Validation with Symfony2

by Hugo Hamon

Published June 3, 2014 in Technology

When was the last time you wrote a web application without having to validate some data or user input? Probably long ago. In fact, validation is so important that most developers take a profound validation system for granted. Maybe that also explains why few people even realize that Drupal 8 uses a completely new validation engine underneath: The tried and tested Symfony2 Validator component.

In my talk, I will show you how to use the Validator component both in regular PHP applications and in Drupal 8. You will learn how the component works internally and how a few simple mechanisms will help you to fulfill most of your validation needs - from small websites to big enterprise applications.