PHPackages                             hollodotme/iso-country-codes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hollodotme/iso-country-codes

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hollodotme/iso-country-codes
============================

A value object collection representing ICO-3166-1 country codes

v1.0.0(5y ago)23.5kMITHTMLPHP &gt;=7.4

Since Aug 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hollodotme/iso-country-codes)[ Packagist](https://packagist.org/packages/hollodotme/iso-country-codes)[ RSS](/packages/hollodotme-iso-country-codes/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![Unit tests](https://github.com/hollodotme/iso-country-codes/workflows/Unit%20tests/badge.svg)](https://github.com/hollodotme/iso-country-codes/workflows/Unit%20tests/badge.svg)[![Static analysis](https://github.com/hollodotme/iso-country-codes/workflows/Static%20analysis/badge.svg)](https://github.com/hollodotme/iso-country-codes/workflows/Static%20analysis/badge.svg)

ISO-3166-1 country codes
========================

[](#iso-3166-1-country-codes)

This is a statically generated value object collection of [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) country codes with their following representations:

- English short name
- French short name
- Alpha-2 code
- Alpha-3 code
- Numeric code

Source of the data is:

Requirements
------------

[](#requirements)

- PHP &gt;= 7.4

Installation
------------

[](#installation)

The recommended way to install this library is using [composer](https://getcomposer.org).

```
composer require "hollodotme/iso-country-codes"
```

Usage
-----

[](#usage)

### From English short name

[](#from-english-short-name)

```
