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::getFlagupdate_iso_codes_db.sh./bin/update_iso_codes_db.sh signature changed to {mode} {base_dir} [{build_dir}].
See installation notes for more info.SomeDatabase::getByNumericCode now accept strings instead of ints, SomeEntity::getNumericCode now return stringsrewind first.AbstractDatabase::DATABASE_PATH and AbstractDatabase::MESSAGES_PATH now contain directory name instead of directory pathAbstractDatabase::find() now returns null when $fieldValue not found in index instead of throwing exception\Sokil\IsoCodes with \Sokil\IsoCodes\IsoCodesFactory. First is deprecated now.\Sokil\IsoCodes\* to \Sokil\IsoCodes\DatabaseHow can I help you explore Laravel packages today?