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 Oct. 26th 2017

Let's Build A Forum with Laravel and TDD: Recaptcha Refactoring

Episode 90 Run Time 12:50

Download

Now that we have reCAPTCHA working for our forum, let's take a few minutes to clean things up. I wonder if we can extract that reCAPTCHA API call to a custom validation rule. Now that we're running Laravel 5.5, this should be a cinch!

View the source code for this episode on GitHub.