alcohol / iso3166

A PHP library providing ISO 3166-1 data.
https://iso3166.thephpleague.com
MIT License
640 stars 59 forks source link

Canary Islands is not present in the library #82

Closed alexandrmazur96 closed 1 year ago

alexandrmazur96 commented 1 year ago

Some users come to us from the Canary Islands, but we can't validate them because this library does not have Canary Islands ISo code representation (IC).

It would be good to add it.

alcohol commented 1 year ago

It is missing because it is a 3166-2 subdivision code and this library only offers 3166-1 codes. I have no intention of supporting 3166-2 subdivision codes at the moment because then they should all be implemented/represented, and that is a lot of work. Perhaps if it could be automated by parsing official data sources. But that is not the case right now.