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

ActiveLibrary

devtobi/gsm-number-prefixes
===========================

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

116PHP

Since Jan 8Pushed 5y agoCompare

[ Source](https://github.com/dtobi59/GSM-Number-Prefixes)[ Packagist](https://packagist.org/packages/devtobi/gsm-number-prefixes)[ RSS](/packages/devtobi-gsm-number-prefixes/feed)WikiDiscussions master Synced 1mo ago

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 devtobi/gsm-number-prefixes:dev-master

Usage
=====

[](#usage)

Get network operator of a phone number

use devtobi\\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

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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/5c1e5f0b8536e6d464ad5e9b20f501c9853dec1c058d328b249a2fd8af1275d4?d=identicon)[devtobi](/maintainers/devtobi)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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