PHPackages                             arendach/vodafone-msisdn - 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. arendach/vodafone-msisdn

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

arendach/vodafone-msisdn
========================

Get phone number from msisdn header

1.0.7(5y ago)0513MITPHPPHP &gt;=7.2

Since Dec 29Pushed 5y ago2 watchersCompare

[ Source](https://github.com/Arendach/vodafone-msisdn)[ Packagist](https://packagist.org/packages/arendach/vodafone-msisdn)[ RSS](/packages/arendach-vodafone-msisdn/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

Vodafone MSISDN detect package
==============================

[](#vodafone-msisdn-detect-package)

Installation
------------

[](#installation)

###### Install package

[](#install-package)

```
$ composer require arendach/vodafone-msisdn

```

##### Add Service provider

[](#add-service-provider)

```
\Arendach\VodafoneMsisdn\Providers\MsisdnServiceProvider::class,
```

###### Publish configs

[](#publish-configs)

```
$ php artisan vendor:publish --tag=vodafone-msisdn

```

How to use
----------

[](#how-to-use)

```
$msisdn = 'xO6843saKpzFW9JF8hMzEA==';
$hmac = 'ihzkBF1kq/g/yCRZ/0mZatgWnrY9LmK3RoGgHk7Hqss=';

// initialize msisdn
$msisdnService = new \Arendach\VodafoneMsisdn\Msisdn();

// get phone number without caching
$phone = $msisdnService->decrypt($msisdn, $hmac);

// decrypt and save to cache + get phone and status
$msisdnService->decryptAndSave($msisdn, $hmac); // method decryptAndSave return decrypted phone or null
$phone = $msisdnService->getPhone();
$status = $msisdnService->getStatus();

// using save phone from other
$msisdnService->setPhone('380666817731');
$phone = $msisdnService->getPhone();

echo $phone; // 380666817731
echo $status; // -1 | 1
```

How to use Encryptor
--------------------

[](#how-to-use-encryptor)

> The Encryptor repeats the encryption functionality for headers on the proxy enrichment
>
> It can be used for testing

```
$encryptor = new \Arendach\VodafoneMsisdn\Services\Encrypt();
$phone = '38066681731';
$encrypter->make($phone);

$msisdn = $encrypter->getMsisdn(); // xO6843saKpzFW9JF8hMzEA==
$hmac = $encrypter->getHmac(); // ihzkBF1kq/g/yCRZ/0mZatgWnrY9LmK3RoGgHk7Hqss=
```

How to configuration .env file
------------------------------

[](#how-to-configuration-env-file)

```
# HMAC CHECK
MSISDN_HMAC_SECRET=''
MSISDN_HMAC_ALGO=''
# DECRYPT
MSISDN_DECRYPT_SECRET=''
MSISDN_DECRYPT_IV=''
MSISDN_DECRYPT_ALGO=''
# Other
MSISDN_DEBUG_MODE=''
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Every ~13 days

Total

8

Last Release

1868d ago

### Community

Maintainers

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

---

Top Contributors

[![Arendach](https://avatars.githubusercontent.com/u/25111143?v=4)](https://github.com/Arendach "Arendach (13 commits)")

### Embed Badge

![Health badge](/badges/arendach-vodafone-msisdn/health.svg)

```
[![Health](https://phpackages.com/badges/arendach-vodafone-msisdn/health.svg)](https://phpackages.com/packages/arendach-vodafone-msisdn)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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