Skip to main content

Posts

Showing posts with the label validation in Laravel

laravel Basic Validation Example

Hii guys, In this artical, i will give you example of laravel Basic Validation Example. Laravel ships with a simple, convenient facility for validating data and retrieving validation error messages via the Validation class. Basic Validation Example $validator = Validator::make( array('name' => 'Dayle'), array('name' => 'required|min:5') ); The first argument passed to the make method is the data under validation. The second argument is the validation rules that should be applied to the data. It will help you...