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

Iso3166 Laravel Package

league/iso3166

PHP library providing up-to-date ISO 3166-1 country data. Look up countries by name, alpha-2, alpha-3, or numeric code and get normalized details like country name, codes, and currency information.

View on GitHub
Deep Wiki
Context7
4.3.2
  • Updated: added XK for Kosovo ([#101])
  • Changed: added types for private properties
4.3.1
  • Updated: alias for Congo ([#96])
4.3.0
  • Added: added exactName ([#95])
4.2.1
  • Changed: Croatia adopted the EUR on 2023-01-01
4.2.0
  • Added: a dataprovider with often requested aliases ([#76])
4.1.0
  • Changed: lookup is now unicode-safe ([#78]) and allows partial (prefix) matches ([#74])
4.0.0
  • Changed: added return types ([#63] & [#65])
3.0.0
  • Deprecated: dropped support for PHP < 7.3
  • Added: support for PHP 8
2.1.5
  • Changed: added a common ISO3166Exception interface ([#53]).
2.1.4
  • Changed: update currency for Estonia to EUR.
2.1.3
  • Changed: update currency for Latvia to EUR.
2.1.2
  • Changed: update short names of Eswatini and Macedonia.
2.1.1
  • Changed: Swaziland was renamed to Eswatini.
2.1.0
  • New: can now lookup by name ([#44]).
2.0.0
  • Changed: renamed getBy<Identifier> methods to <identifier> ([#29]).
  • Changed: renamed getAll to all ([#29]).
  • Changed: renamed listBy to iterator ([#29]).
  • Changed: ISO3166 and DataValidator are now final ([#24]).
  • Changed: support for PHP 5.5.x has been dropped ([#23]).
  • Changed: get() method has been removed ([#19]).
  • Changed: currency key in default dataset entries is now always an array ([#15]).
  • New: ISO3166 now implements Countable interface ([#18]).
  • New: can now replace default dataset by injecting a new one into ISO3166 through the constructor ([#18]).
  • New: getBy[Alpha2,Alpha3,Numeric] now throw InvalidArgumentException if anything other than a string is passed in ([#18]).
1.0.1
  • Changed: updated Antarctica currencies ([#6]).
  • Deprecated: the get() method has been deprecated and will be removed in a future release ([#12]).
1.0.0
  • New: initial release of league/iso3166.
unreleased
  • See [unreleased].
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport