PHPackages                             hopekelldev/confirmident - 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. [API Development](/categories/api)
4. /
5. hopekelldev/confirmident

ActiveLibrary[API Development](/categories/api)

hopekelldev/confirmident
========================

Laravel Confirmident API Integration - A Laravel 10+ package for Confirmident.com.ng

v1.0.0(10mo ago)00MITPHPPHP &gt;=8.1

Since Jul 17Pushed 10mo agoCompare

[ Source](https://github.com/HopekellDev/Laravel-Confirmident)[ Packagist](https://packagist.org/packages/hopekelldev/confirmident)[ RSS](/packages/hopekelldev-confirmident/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Laravel Confirmident
====================

[](#laravel-confirmident)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4de2df6666b6ba6274dc98d339256bc9dc5a98dec13c51135cd212415e3f5754/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686f70656b656c6c6465762f636f6e6669726d6964656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hopekelldev/confirmident)[![Total Downloads](https://camo.githubusercontent.com/0a575343ab1b7835438b3f06a1ece3b99240d260e8eab89bbd2718172e2b6704/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686f70656b656c6c6465762f636f6e6669726d6964656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hopekelldev/confirmident)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/38cea5ef257fe5ff0984b9bbddfde7d304f52e0ffb5b2737cefca3c3eb877b05/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f486f70656b656c6c4465762f6c61726176656c2d636f6e6669726d6964656e742f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/HopekellDev/Laravel-Confirmident/?branch=main)[![PHP Version](https://camo.githubusercontent.com/6c050777749042d93d715aba3ae94e00b77f410ec04dc820a2d1dbe5c6f824e3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344382e312d3737374242342e7376673f7374796c653d666c61742d737175617265)](https://www.php.net/)[![Laravel Version](https://camo.githubusercontent.com/7f985be0a8916514317e4fb7542f4b8ca680fb460eb1e9dfec35d84ce3eedff7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d25334525334431302e302d4646324432302e7376673f7374796c653d666c61742d737175617265)](https://laravel.com/)[![GuzzleHTTP Version](https://camo.githubusercontent.com/540f3b5227c3e3c96cb6622b21487744d8efd1cf63355b40c18737b824a1d77e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f47757a7a6c65485454502d253345253344372e302d3346374539352e7376673f7374796c653d666c61742d737175617265)](https://github.com/guzzle/guzzle)

**Laravel Confirmident** is a Laravel 10+ package for seamless integration with the [Confirmident](https://confirmident.com.ng) identity verification API.
It provides a simple Facade-based interface for NIN and identity verification.

✅ Requirements
--------------

[](#-requirements)

- **PHP** &gt;= 8.1
- **Laravel** &gt;= 10.0
- **GuzzleHTTP** &gt;= 7.0

📦 Installation
--------------

[](#-installation)

```
composer require hopekelldev/confirmident
```

⚙️ Configuration
----------------

[](#️-configuration)

### Publish Configuration File

[](#publish-configuration-file)

```
php artisan vendor:publish --tag=config --provider="HopekellDev\Confirmident\ConfirmidentServiceProvider"
```

### Environment Variables (.env)

[](#environment-variables-env)

Add the following to your `.env` file:

```
# Confirmident API Key from your Confirmident account
CONFIRMIDENT_API_KEY=your_api_key_here

# Base URL for Confirmident API (default is production endpoint)
CONFIRMIDENT_API_BASE_URL=https://api.confirmident.com.ng
```

🚀 Usage Example
---------------

[](#-usage-example)

### Verify NIN Example

[](#verify-nin-example)

```
use Confirmident;

// Verify a NIN number
$response = Confirmident::verifyNIN('12345678901');

if ($response && $response['status'] === 'success') {
    $data = $response['data'];
    // Process the verified data
} else {
    // Handle failure or error
    $errorMessage = $response['message'] ?? 'Verification failed';
}
```

📋 Available Methods
-------------------

[](#-available-methods)

MethodDescription`nin()->searchByNIN($nin)`Search NIN details by NIN number`nin()->searchByPhoneNumber($phone)`Search NIN details by registered phone number`nin()->searchByDemographicInfo($data)`Search NIN by demographic information (firstname, lastname, dob, gender)`bvn()->verification($bvn)`Verify BVN and retrieve identity details📖 Controller Examples
---------------------

[](#-controller-examples)

For detailed usage examples and expected API responses, see:
👉 [tests/ControllerExample.md](tests/ControllerExample.md)

📃 License
---------

[](#-license)

Released under the MIT License.
See the [LICENSE](LICENSE) file for details.

👤 Author
--------

[](#-author)

**Ezenwa Hopekell**

- GitHub: [HopekellDev](https://github.com/HopekellDev)
- Email:

🤝 Contributions &amp; Issues
----------------------------

[](#-contributions--issues)

Feel free to open issues or submit pull requests on [GitHub](https://github.com/HopekellDev/confirmident).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance54

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

305d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hopekelldev-confirmident/health.svg)

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

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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