required if not null laravel validation code example Example: field not required validation laravel $this->validate($request, [ "field_nullable" => "nullable" ]