Go to file
Henrique Moody 9c9c76ebfb
Use "sokil/php-isocodes" on SubdivisionCode
Inside the "data/" directory, we have files with lists of subdivisions
that need to be updated. We have to update them manually, or we automate
that task with a script and GitHub actions.

The two options are very time consuming and also not ideal. We don't
want to deal with that problem and, thinking that the user of this
library may want to show the data that we validate, we should create a
whole library to make it more usable.

The "sokil/php-isocodes" is a simple library that, even supports
translations. It's frequently updated and has gone to major performance
updates.

I am not fond of the idea of requiring an external library to install
Validation, as I have seen that gone wrong before [1]. Ideally, that
would be an optional dependency for people who would like to use those
rules, but to make that happen, we need to release a MAJOR version.

[1]: d072b4de6a

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2021-02-06 15:09:04 +01:00
.github/workflows Use the last MINOR version in updaters 2021-02-06 13:02:07 +01:00
bin Use "sokil/php-isocodes" on SubdivisionCode 2021-02-06 15:09:04 +01:00
docs Use "sokil/php-isocodes" on SubdivisionCode 2021-02-06 15:09:04 +01:00
library Use "sokil/php-isocodes" on SubdivisionCode 2021-02-06 15:09:04 +01:00
tests Use "sokil/php-isocodes" on SubdivisionCode 2021-02-06 15:09:04 +01:00
.docheader Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
.gitattributes Update list of files to be exported by Git 2020-07-29 10:35:36 +02:00
.gitignore Configure continuous integration with GitHub actions 2020-08-27 19:06:37 +02:00
CHANGELOG.md Remove documentation links in the repository 2019-05-23 16:16:00 +02:00
composer.json Use "sokil/php-isocodes" on SubdivisionCode 2021-02-06 15:09:04 +01:00
CONTRIBUTING.md Update contribution guidelines 2019-05-23 16:35:41 +02:00
LICENSE Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
mkdocs.yml Create MkDocs configuration file 2018-12-11 09:25:41 +01:00
phpcs.xml.dist Use "Respect" coding standard 2019-05-11 20:51:39 +02:00
phpstan.neon.dist Fix PHPStan issues 2021-02-06 12:51:56 +01:00
phpunit.xml.dist Configure continuous integration with GitHub actions 2020-08-27 19:06:37 +02:00
README.md Configure continuous integration with GitHub actions 2020-08-27 19:06:37 +02:00