Validation

Laravel 5.5 Custom Validation Rule Objects
Laravel 5.5 / July 14, 2017

Laravel 5.5 Custom Validation Rule Objects

Laravel 5.5 will introduce support for custom validation rule objects as an alternative to using Validator::extend.

Read more…
Laravel 5.5. Custom Validator Rules
Laravel 5.5 / May 31, 2017

Laravel 5.5. Custom Validator Rules

A new feature coming to Laravel 5.5 is a new feature for adding custom validation rules and Taylor has a written up a quick tutorial on it.

Read more…
Laravel 5.5 Returns the Request Data from the Validator
Laravel 5.5 / May 04, 2017

Laravel 5.5 Returns the Request Data from the Validator

A new feature coming to Laravel 5.5 is the Validation will now return the request data so you have everything you need.

Read more…
Learn how to change Laravel’s login validation
Laravel Tutorials / October 26, 2016

Learn how to change Laravel’s login validation

Laravel’s included auth system is a great way of scaffolding out a basic flow for authenticating users through a complete registration, login, logout, and forgot password system. When it’s all setup the login and password reset validation is stored in an AuthenticatesUsers and ResetsPasswords trait. Even though it’s a little hidden away it’s still easy … Continue reading Le... Read more…

Improvements to the Laravel unique and exists validation rules
News / October 11, 2016

Improvements to the Laravel unique and exists validation rules

Validating requests in Laravel is simple with its ValidatesRequests trait that is automatically included through the BaseController. It’s powerful and provides a lot of useful rules for common use cases. Two rules, exists() and unique(), are used to validate against data stored in your database and they’ve always had a format like this: // exists … Continue reading Read more…

Laravel Tutorials / April 06, 2015

How to validate an array of form inputs

Over on my personal blog I wrote a tutorial on using the new Laravel 5 Form Requests to validate an array of form inputs. It’s a common problem with a simple solution that Laravel makes very easy to implement.

Read more…