Hi avidh, it seems a bit strange,
I guess you can make a workarround by adding the validation rules in two steps
$rule = array( 'user_name' => 'required|unique:users,user_name', 'user_name_lower' => 'not_in:admin,webmaster');
then, in you validator, you should add the user_name_lower with the user_name as lower case.
$arrayToValidate = array_add($arrayToValidate, 'user_name_lower', strtolower($arrayToValidate['user_name']))
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us