Lessons:26Length:3.4 hours
  • Overview
  • Transcript

9.2 Validating With Models and Event Listeners

One of my favorite things about web development is that there’s always more than one way to accomplish a particular task. In this lesson, we’ll handle validation directly within a BaseModel, and then leverage Laravel 4′s new event listeners to run the validation whenever a model is saved.