aminkhoshzahmat/country-code

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

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 2

Forks: 1

Open Issues: 0

pkg:composer/aminkhoshzahmat/country-code

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

This package is auto-updated.

Last update: 2025-09-27 00:00:33 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", ...]