sokil/php-isocodes
PHP library for ISO code datasets with localized names: countries (ISO 3166-1/2/3), currencies (ISO 4217), languages (ISO 639-3) and scripts (ISO 15924). Supports Gettext or Symfony Translation drivers, with locale configuration.
\Sokil\IsoCodes\Database\Countries\Country::getCommonName\Sokil\IsoCodes\Database\Countries\Country::getFlagFix: database entries may has no mo files. In this case exception occured. Locale "en" as default locale has no mo files because all data already present in database. When no mo file found, default "en" value returns.

As you already know, russia invaded Ukraine on 24 of February 2022, at 5.00 AM the armed forces of the Russian Federation attacked Ukraine. Please, Stand with Ukraine, stay tuned for updates on Ukraine’s official sources and channels in English and support Ukraine in its fight for freedom and democracy in Europe.
https://ukraine.ua/news/stand-with-ukraine/
Ways to support Ukraine
Fixes in update_iso_codes_db.sh
./bin/update_iso_codes_db.sh signature changed to {mode} {base_dir} [{build_dir}].
See installation notes for more info.Database version: v4.8.0-26-gf4b9c87c from 2021-12-02 04:27
Database version: v4.8.0-1-gdd836c89 from 2021-11-06 08:41
Database version: iso-codes-4.7.0-47-g5fb1ffdd from 2021-10-02 04:26
database update to iso-codes-4.7.0-45-g1a23444a from 2021-09-15 08:38
Database version: iso-codes-4.6.0-35-g3f006e4f from 2021-08-02 04:26
Database version: iso-codes-4.6.0-32-gb3bbcb5d from 2021-07-02 04:14
Database update to iso-codes-4.6.0-29-g5acbceb6 from 2021-06-02 06:13
Database version: iso-codes-4.6.0-12-g26bd8f07 from 2021-05-02 04:07
Database version iso-codes-4.6.0-5-g0ccdc2d2 from 2021-04-02 05:14
Database version: iso-codes-4.6.0-1-gd490b2a4 from 2021-03-17 16:34
Database version: iso-codes-4.5.0-210-gf88891a3 from 2021-03-02 04:25
Database version: iso-codes-4.5.0-205-g927a9f3a from 2021-02-17 08:50
Database version: iso-codes-4.5.0-199-g4070a2e5 from 2021-02-02 04:31
Database version: iso-codes-4.5.0-186-ga7b8a017 from 2021-01-19 15:33
Database version: iso-codes-4.5.0-178-g802915de from 2021-01-02 04:38
SomeDatabase::getByNumericCode now accept strings instead of ints, SomeEntity::getNumericCode now return stringsAllow to configure own translation driver
Bug #25 fixed, \Sokil\IsoCodes\Database\Countries::getByNumericCode now accept strings instead of ints
Database version: iso-codes-4.5.0-99-g3feba234 from 2020-09-22 23:33
How can I help you explore Laravel packages today?