We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validators for the two alphanumeric country code formats defined by ISO 3166:
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
Syntax would be v::countryCode();. If some user wants only two or three digit country codes, it can chain validators: v::length(2)->countryCode();.
v::countryCode();
v::length(2)->countryCode();
The text was updated successfully, but these errors were encountered:
I am doing it, just need to install PHPUnit on my machine and we will be done.
Sorry, something went wrong.
@cabello nice!
I've coded this, should be available on the next package.
NIce!
No branches or pull requests
Validators for the two alphanumeric country code formats defined by ISO 3166:
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
Syntax would be
v::countryCode();
. If some user wants only two or three digit country codes, it can chain validators:v::length(2)->countryCode();
.The text was updated successfully, but these errors were encountered: