inwebo/country-model

Iso 3166 code's PHP implementation

Maintainers

Package info

github.com/inwebo/country-model

pkg:composer/inwebo/country-model

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

1.0.0 2026-04-07 18:52 UTC

This package is auto-updated.

Last update: 2026-04-07 18:54:55 UTC


README

ISO 3166 code's PHP ^8.1 implementation.

This library provides a standard interface for representing countries and their subdivisions according to the ISO 3166-1 standard. It defines methods for common country attributes such as names (short and full), alpha-2, alpha-3 codes, and numeric codes.

Features

  • ISO 3166-1 alpha-2, alpha-3, and numeric code support.
  • Comprehensive naming (short names, full names, and upper-case names).
  • Support for independence status and additional remarks.
  • PHP 7.4 and PHP 8.0+ compatibility.

Installation

You can install the package via Composer:

composer require inwebo/country-model

License

This project is licensed under the GPL-3.0-or-later License. See the LICENSE file for details.