not required in laravel validation code example

Example 1: laravel validate integer between

'item' => 'required|integer|between:1,10',

Example 2: field not required validation laravel

$this->validate($request, [
	"field_nullable" => "nullable"
]

Example 3: validation.required laravel

9

If it has worked for you before then you should check if you have messages defined in the app\lang\en\validation.php or by chance you have changed the locale of the app and have not defined the messages for it. There are many possibilities.

Example 4: laravel validation

Validator::extendImplicit('foo', function ($attribute, $value, $parameters, $validator) {
    return $value == 'foo';
});