PHPackages                             megastruktur/phone-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. megastruktur/phone-country-codes

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

megastruktur/phone-country-codes
================================

A simple library to get phone country codes.

0.4(8y ago)8202.4k—7.7%2MITPHP &gt;=5.3.0

Since Oct 14Compare

[ Source](https://github.com/megastruktur/phone-country-codes)[ Packagist](https://packagist.org/packages/megastruktur/phone-country-codes)[ Docs](http://github.com/megastruktur/phone-country-codes)[ RSS](/packages/megastruktur-phone-country-codes/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (2)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/megastruktur/phone-country-codes).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

3138d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b9e99693f4fe13343e70c026c0c27d530f80b97873ee286ddeb969baa7ab2a6?d=identicon)[megastruktur](/maintainers/megastruktur)

---

Tags

phonecountry

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/megastruktur-phone-country-codes/health.svg)

```
[![Health](https://phpackages.com/badges/megastruktur-phone-country-codes/health.svg)](https://phpackages.com/packages/megastruktur-phone-country-codes)
```

###  Alternatives

[components/flag-icon-css

A curated collection of all country flags in SVG — plus the CSS for easier integration.

12.0k1.6M23](/packages/components-flag-icon-css)[rinvex/countries

Rinvex Countries is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.

1.7k7.4M48](/packages/rinvex-countries)[lipis/flag-icons

A curated collection of all country flags in SVG — plus the CSS for easier integration.

12.0k27.5k4](/packages/lipis-flag-icons)[dougsisk/laravel-country-state

Country &amp; state helper for Laravel.

1681.7M](/packages/dougsisk-laravel-country-state)[shitoudev/phone-location

location of phone number

15890.4k](/packages/shitoudev-phone-location)[hellonico/acf-country

A country field for ACF.

12193.2k](/packages/hellonico-acf-country)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
