Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Mar. 31st 2014

Form Macros for the Win

Run Time 17:25

Download

In this lesson, we'll review the process of creating custom form macros for your views. We'll then move on to a more object-oriented approach (as illustrated by Chris Hayes) for this task, while continuously testing (with PHPSpec) and refactoring our work.

View the source for this lesson on GitHub.