Propaganistas/Laravel-Phone

Validation error

sevannerse opened this issue · 1 comments

Country Code: AC
Phone Number: +24762889

It returned validation failed when I try to test over herokuapp with the above parameters. I have made the test with the same parameters at libphonenumber's demo and it passed. I think the countries should be parsed from the supported regions list of libphonenumber instead of the thephpleague/iso3166. That probably would solve the issue.

Please let me know if you're welcome a PR.

Good catch. That'll remove a dependency as well. Please go forward with drafting a PR 👍