Answers for "laravel validation integet"

PHP
2

laravel validation integer

'count' => 'integer'
Posted by: Guest on March-17-2021
-1

laravel validation

$rules = ['name' => 'unique:users,name'];

$input = ['name' => ''];

Validator::make($input, $rules)->passes(); // true
Posted by: Guest on December-25-2020

Browse Popular Code Answers by Language