Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Isocodes Laravel Package

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.

View on GitHub
Deep Wiki
Context7
4.4.0

Added

  • Define external Synfony Translator
4.3.0

Changed

  • Removed support of PHP less than PHP 7.4
  • Added cache dir for Symfony translation driver
4.2.1

Added

  • Support of PHP 8.4 (See PR #80)
4.2.0

Added

  • Common name of country \Sokil\IsoCodes\Database\Countries\Country::getCommonName
  • Flag of country \Sokil\IsoCodes\Database\Countries\Country::getFlag
4.1.1

Fixes

  • Auth release fix. Swallow clone does not clone tags required to set version in README
4.1.0
  • Fix: 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.
4.0.3
  • Stand With Ukraine
4.0.2
  • Fix #53 - Compatibility with php 8.1
4.0.1
  • Fixes in update_iso_codes_db.sh
4.0.0
3.3.1
  • Database version: iso-codes-4.5.0-178-g802915de from 2021-01-02 04:38
3.3.0
  • Fix configure external directory to database files
  • SomeDatabase::getByNumericCode now accept strings instead of ints, SomeEntity::getNumericCode now return strings
3.2.0
  • Allow to configure own translation driver
3.1.1
  • Database updated to version iso-codes-4.5.0-165-g46cea063 from 2020-12-12 19:09
  • Fixed release scripts
  • Configured Github Action to start automatic release process event 2nd day of month
3.1.0
  • Bug #25 fixed, \Sokil\IsoCodes\Database\Countries::getByNumericCode now accept strings instead of ints
3.0.6
  • Database version: 4.5.0-99-g3feba234 from 2020-09-22 23:33
3.0.5
  • Database version: 4.2-515-g7c579bb0 from 2020-05-29 01:27
3.0.4
  • Database version: 4.2-299-gc0e8506 from 2019-11-28 08:56
3.0.3
  • Database version: 4.2-277-g3d1d2f11 from 2019-10-23 22:24
3.0.2
  • Database version: iso-codes-4.2-202-gfefebff3 from 2019-08-28 23:03
3.0.1
  • Remove stub class \Sokil\IsoCodes, use \Sokil\IsoCodes\IsoCodesFactory instead
  • Database version: iso-codes-4.2-147-gcadebc34
3.0
  • PHP >=7.1 required.
  • Cluster index is now lazy loaded. If you use iterator methods directly to iterate through all database, you must call rewind first.
  • Factory now creates database instances but not store them, so next call of factory method will create new instance.
  • Subdivisions and languages databases are large, so they have now optimisation to load entries from separate files instead of one single file..
2.2.9
  • Database version: iso-codes-4.2-202-gfefebff3 from 2019-08-28 23:05
2.2
  • Added possibility to configure directory with databases and messages, and manually update them without updating composer
  • Constants AbstractDatabase::DATABASE_PATH and AbstractDatabase::MESSAGES_PATH now contain directory name instead of directory path
2.1
  • AbstractDatabase::find() now returns null when $fieldValue not found in index instead of throwing exception
2.0
  • Updated pkg-isocodes database. Added update script.
  • Replace class \Sokil\IsoCodes with \Sokil\IsoCodes\IsoCodesFactory. First is deprecated now.
  • Removed Historic currencies
  • Moved database classes from \Sokil\IsoCodes\* to \Sokil\IsoCodes\Database
  • Entry's public properties replaced with getters
  • Completely rewritted country's subdivisions database
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky