aminkhoshzahmat/country-code

A list of all countries with phone, code, and their names

Maintainers

Package info

github.com/aminkhoshzahmat/country-code

pkg:composer/aminkhoshzahmat/country-code

Statistics

Installs: 30

Dependents: 0

Suggesters: 0

Stars: 7

Open Issues: 0

v1.1.0 2023-02-26 12:59 UTC

This package is auto-updated.

Last update: 2026-02-27 00:51:57 UTC


README

A list of all countries with phone, code, and their names

Install

composer require aminkhoshzahmat/country-code

Usage

CountryType::IRAN->getCode();   // "IR"
CountryType::IRAN->getNumber(); // "98"
CountryType::IRAN->getName();   // "Iran"
CountryType::IRAN->getCities(); // ["Tehran", "Tabriz", ...]