aminkhoshzahmat/country-code

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

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

This package is auto-updated.

Last update: 2024-04-26 20:49:02 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", ...]