PHPackages                             hopekelldev/laravel-danarewa - 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/laravel-danarewa

ActiveLibrary[API Development](/categories/api)

hopekelldev/laravel-danarewa
============================

Laravel wrapper for DanArewaTech API

v1.0.0(9mo ago)05MITPHPPHP ^8.0

Since Jul 18Pushed 9mo agoCompare

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

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

Laravel DanArewa
================

[](#laravel-danarewa)

Laravel DanArewa is a Laravel 10+ package that provides a clean wrapper around the DanArewaTech identity verification API. It offers a Facade-based interface for verification, clearance, validation, and user wallet inquiries.

[![Latest Version on Packagist](https://camo.githubusercontent.com/c89406a5ab34b5fde45e71b8020aec23dc9539c827073a7d888d769c2a9cc513/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686f70656b656c6c6465762f6c61726176656c2d64616e61726577612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hopekelldev/laravel-danarewa)[![Total Downloads](https://camo.githubusercontent.com/03e33bb5191b09eb3e8b8130143a73d504dcf4b44e5bb6d1118999b624c9d66b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686f70656b656c6c6465762f6c61726176656c2d64616e61726577612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hopekelldev/laravel-danarewa)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/770653a3787cc96f84dd1bb9bc48286b559d37e97f6910da447c897c6126117b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f486f70656b656c6c4465762f6c61726176656c2d64616e61726577612f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/HopekellDev/laravel-danarewa/?branch=main)[![PHP Version](https://camo.githubusercontent.com/c151bceca0e12461c0eaeba90832fafa881ee8aa8d8e4ec5048f23db42cd33a9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344382e302d3737374242342e7376673f7374796c653d666c61742d737175617265)](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)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0
- Laravel &gt;= 10.0
- GuzzleHTTP &gt;= 7.0

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

[](#installation)

Install the package via Composer:

```
composer require hopekelldev/laravel-danarewa
```

Configuration
-------------

[](#configuration)

### Publish Configuration File

[](#publish-configuration-file)

Run the following command to publish the configuration file:

```
php artisan vendor:publish --tag=config --provider="HopekellDev\DanArewa\DanArewaServiceProvider"
```

### Environment Variables

[](#environment-variables)

Add the following to your `.env` file:

```
DANAREWA_API_KEY=your_api_key_here
DANAREWA_BASE_URL=https://danarewatech.com.ng/api
```

Usage Example
-------------

[](#usage-example)

Here’s how to use the package to verify an NIN:

```
use HopekellDev\DanArewa\Facades\DanArewa;

// Example: Verify NIN
$response = DanArewa::verifications()->ninVerification('12345678901');

if ($response && ($response['status'] ?? false) === 'success') {
    $data = $response['data'];
    // Process success
} else {
    $error = $response['message'] ?? 'Verification failed';
}
```

Available Methods
-----------------

[](#available-methods)

CategoryMethodDescriptionVerifications`verifications()->ninVerification($nin)`Verify NIN by numberVerifications`verifications()->phoneVerification($phone)`Verify NIN by registered phoneVerifications`verifications()->bvnVerification($bvn)`Verify BVN numberVerifications`verifications()->trackingIdVerification($trackingId)`Verify by Tracking IDIPE Clearance`ipeClearance()->ipeClearance($trackingID)`Instant IPE ClearanceIPE Clearance`ipeClearance()->ipeClearanceStatus($trackingID)`Check IPE statusValidation`validation()->validate($nin)`Validate IDValidation`validation()->validateStatus($nin)`Check validation statusUser Wallet`userDetails()->walletBalance()`Get user wallet balanceController Usage Example
------------------------

[](#controller-usage-example)

Here’s an example of how to use the package in a Laravel controller:

```
use HopekellDev\DanArewa\Facades\DanArewa;

public function verifyNIN(Request $request)
{
    $response = DanArewa::verifications()->ninVerification($request->nin);

    return response()->json($response);
}
```

License
-------

[](#license)

This package is released under the MIT License.

Author
------

[](#author)

**Ezenwa Hopekell**

- GitHub: [HopekellDev](https://github.com/HopekellDev)
- Email:
- [Message Hopekell on Whatsapp](https://wa.me/message/M3DH3GBDHF35G1)

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

[](#contributions--issues)

Found a bug or have a feature request? Feel free to open an issue or submit a pull request on [GitHub](https://github.com/HopekellDev/laravel-danarewa).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance55

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

297d 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 (7 commits)")

### Embed Badge

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

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

###  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)
