PHPackages                             ebukaubah/gsm-number-prefixes - 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. ebukaubah/gsm-number-prefixes

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

ebukaubah/gsm-number-prefixes
=============================

A php library to determine the network provider for various GSM mobile numbers.

261PHPCI failing

Since Jun 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/god-of-speed/GSM-Number-Prefixes)[ Packagist](https://packagist.org/packages/ebukaubah/gsm-number-prefixes)[ RSS](/packages/ebukaubah-gsm-number-prefixes/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Phone Number Network Operator Identifier
========================================

[](#phone-number-network-operator-identifier)

Library for identifying mobile numbers network operators

A simple library that helps identify the current network operator of a phone number based on its prefixes.

Just install the package, add the config and it is ready to use!

Requirements
============

[](#requirements)

- PHP &gt;= 7.1

Installation
============

[](#installation)

composer require ebukaubah/gsm-number-prefixes:dev-master

Usage
=====

[](#usage)

Get network operator of a phone number

use ebukaubah\\GsmNumberPrefixes\\GsmNumberPrefix;

$gsmNetworkIdentifier = new GsmNumberPrefix();

$gsmNetworkIdentifier-&gt;getNetworkProvider($phone\_number);

Available Response
==================

[](#available-response)

1. mtn
2. airtel
3. glo
4. 9mobile
5. starcomms
6. visafone
7. multilinks
8. zoom
9. ntel
10. smile
11. unknown

Credits
=======

[](#credits)

- Ubah Ebuka for the awesome  library

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/81d9622cd57e35309f8ad5250ef6ed529ef718ac71e905eaba37058a21e82f41?d=identicon)[Ubah Ebuka](/maintainers/Ubah%20Ebuka)

---

Top Contributors

[![ubah-ebuka](https://avatars.githubusercontent.com/u/42987560?v=4)](https://github.com/ubah-ebuka "ubah-ebuka (7 commits)")

### Embed Badge

![Health badge](/badges/ebukaubah-gsm-number-prefixes/health.svg)

```
[![Health](https://phpackages.com/badges/ebukaubah-gsm-number-prefixes/health.svg)](https://phpackages.com/packages/ebukaubah-gsm-number-prefixes)
```

###  Alternatives

[flagstudio/nova-actions-left

Laravel Nova actions on the left

2258.2k](/packages/flagstudio-nova-actions-left)[humanmade/popup

An exit intent popup block that shows when someone may be about to leave the site

144.8k](/packages/humanmade-popup)

PHPackages © 2026

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