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 2d ago

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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

1575d 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

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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