Notice how some fields have the required rule on laravel "native" validators to state the intent?
We should be able to tell the package to ignore empty inputs. Actually, it should only complain if we used required but I guess you'll resist a breaking change like that ;-)
An alternative could be a NULL option such as phone:AUTO,US,NULL
I successfully used the package to validate phone numbers when present, but in some forms the field is optional. Here is my rules statement:
Notice how some fields have the
required
rule on laravel "native" validators to state the intent? We should be able to tell the package to ignore empty inputs. Actually, it should only complain if we usedrequired
but I guess you'll resist a breaking change like that ;-) An alternative could be aNULL
option such asphone:AUTO,US,NULL