PHPackages                             xdpx/mobile-operators-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. xdpx/mobile-operators-codes

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

xdpx/mobile-operators-codes
===========================

Библиотека для определения мобильного оператора и региона по номеру телефона

0.1(9y ago)2176BSD-3-ClausePHPPHP &gt;=5.4.0

Since May 10Pushed 9y agoCompare

[ Source](https://github.com/denispugachev/mobile-operators-codes)[ Packagist](https://packagist.org/packages/xdpx/mobile-operators-codes)[ RSS](/packages/xdpx-mobile-operators-codes/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Mobile Operators Codes
======================

[](#mobile-operators-codes)

Библиотека для определения мобильного оператора и региона по номеру телефона. Используется список кодов мобильных операторов РФ, взятый с сайта [Россвязь](https://www.rossvyaz.ru/activity/num_resurs/registerNum/).

Установка с использованием composer
-----------------------------------

[](#установка-с-использованием-composer)

```
composer require "xdpx/mobile-operators-codes"
```

Использование
-------------

[](#использование)

```
$reader = new \MobileOperatorsCodes\Reader();
$record = $reader->findRecord('+79991234567');
$record = $reader->findRecord('89991234567');
$record = $reader->findRecord('(999) 123-45-67');
$record = $reader->findRecord('9991234567');

echo $record->getOperator();
```

Обработка ошибок
----------------

[](#обработка-ошибок)

Если передан телефон в неверном формате, то будет выброшено исключение `\MobileOperatorsCodes\WrongPhoneNumberFormatException`.

Если запись о номере телефона не найдена в БД, то будет выброшено исключение `\MobileOperatorsCodes\RecordNotFoundException`.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3292d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b519eca274c49159059cd2197af3d482751e3e62d77e402f751ed2a79d6d6cc5?d=identicon)[xdpugachevx](/maintainers/xdpugachevx)

---

Top Contributors

[![xdpugachevx](https://avatars.githubusercontent.com/u/1089819?v=4)](https://github.com/xdpugachevx "xdpugachevx (5 commits)")

### Embed Badge

![Health badge](/badges/xdpx-mobile-operators-codes/health.svg)

```
[![Health](https://phpackages.com/badges/xdpx-mobile-operators-codes/health.svg)](https://phpackages.com/packages/xdpx-mobile-operators-codes)
```

###  Alternatives

[horstoeko/zugferdvisualizer

A library

33198.3k2](/packages/horstoeko-zugferdvisualizer)

PHPackages © 2026

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