PHPackages                             idmaintzain/myidentitypass - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. idmaintzain/myidentitypass

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

idmaintzain/myidentitypass
==========================

This library will enable you to verify your BVN/NIN/CAC/TIN/PHONE NUMBER

v1.0(4y ago)081MITPHP

Since Jan 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/idmaintzain/myIdentitypassVerification)[ Packagist](https://packagist.org/packages/idmaintzain/myidentitypass)[ RSS](/packages/idmaintzain-myidentitypass/feed)WikiDiscussions master Synced today

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

**To install**

composer require idmaintzain/myidentitypass

This libray will enable you to verify your BVN/NIN/CAC/TIN/PHONE Number with MyIdentityPass API (Nigeria) You can check myidentity pass official website for more documentation on the api at

Set your constant as below

1. define("URL", "[https://api.myidentitypay.com/api/v1/biometrics/merchant/data/verification/nin\_wo\_face](https://api.myidentitypay.com/api/v1/biometrics/merchant/data/verification/nin_wo_face)"); //(This endpoint can be gotten from Myidentity pass documentation website, and there are different endpoints for different features, eg. the sample endpoint is NIN define("API\_CODE", "exxxxxxxx.xxxxxxxxxxxxxxxxx"); //the API code is x-api-key api key, simple copy it from your dashboard and set it on header on the header

the two parameters can be passed to dataVerification method available in MyIdentityPass Class as below

```
            function dataVerification($number,$url,$api_key){
                    $ch = curl_init();
                    curl_setopt($ch, CURLOPT_URL,$url);
                    curl_setopt($ch, CURLOPT_POST, true);
                    curl_setopt($ch, CURLOPT_POSTFIELDS,
                             http_build_query(array('number' => $number)));
                    curl_setopt($ch, CURLOPT_HTTPHEADER, array(
                        "X-API-Key: $api_key",
                        "Cache-Control: no-cache",
                      ));
                    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
                    $server_output = curl_exec($ch);

                    curl_close ($ch);
                    return $server_output;
                }

```

I only use arrayPrinter method to see my response in json

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

1672d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ec54feb4e011af33e9391cb1e4240136496194c34094669ca9a4dd2c6f256a0?d=identicon)[idmaintzain](/maintainers/idmaintzain)

---

Top Contributors

[![idmaintzain](https://avatars.githubusercontent.com/u/10005840?v=4)](https://github.com/idmaintzain "idmaintzain (11 commits)")

### Embed Badge

![Health badge](/badges/idmaintzain-myidentitypass/health.svg)

```
[![Health](https://phpackages.com/badges/idmaintzain-myidentitypass/health.svg)](https://phpackages.com/packages/idmaintzain-myidentitypass)
```

###  Alternatives

[toplan/laravel-sms

A mobile phone number validation solution based on laravel

83580.2k2](/packages/toplan-laravel-sms)[drupal/coder

Coder is a library to review Drupal code.

3046.8M629](/packages/drupal-coder)[hyperf/validation

hyperf validation

122.2M213](/packages/hyperf-validation)[udokmeci/yii2-phone-validator

Modern Yii2 Phone validator wrapper on top of PhoneNumberUtil library also used by Android devices

36227.5k1](/packages/udokmeci-yii2-phone-validator)[snowcap/vat-validation

EU VAT number validation

10112.3k](/packages/snowcap-vat-validation)

PHPackages © 2026

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