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)3179BSD-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 today

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

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

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

3384d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1089819?v=4)[Denis Pugachev](/maintainers/xdpugachevx)[@xdpugachevx](https://github.com/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

[solarissmoke/disable-comments-mu

This is the must-use version of the Disable Comments WordPress plugin. Copy the contents of this directory into your mu-plugins directory in order to disable comments on the entire site/network, without any configuration. You should delete all existing comments from the WordPress database before activating this plugin. If you want to be able to configure the plugin's behaviour, then use the normal version.

6570.2k](/packages/solarissmoke-disable-comments-mu)[dstuecken/php7ify

php7ify is a project that brings new php7 classes and exceptions to php 5.x.

11159.2k1](/packages/dstuecken-php7ify)

PHPackages © 2026

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