PHPackages                             emilkitua/laravel-nida - 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. emilkitua/laravel-nida

ActiveLibrary[API Development](/categories/api)

emilkitua/laravel-nida
======================

PHP/Laravel package for NIDA integration

v1.0.0(1y ago)3411MITPHP &gt;=7.4

Since Jul 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/emilkitua/laravel-nida)[ Packagist](https://packagist.org/packages/emilkitua/laravel-nida)[ RSS](/packages/emilkitua-laravel-nida/feed)WikiDiscussions master Synced yesterday

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

Here is the adapted README for your Laravel package, customized with your GitHub profile information:

---

Laravel Nida
============

[](#laravel-nida)

Unofficial Laravel package for fetching user information based on National ID Number made by [emilkitua](https://github.com/emilkitua/)

[![Releases](https://camo.githubusercontent.com/d7ca39c7c885b04adb02650ca6b767c934ccb2defacd8dfc2400777c9b2e0cce/68747470733a2f2f62616467656e2e6e65742f6769746875622f72656c65617365732f656d696c6b697475612f6c61726176656c2d6e696461)](https://github.com/emilkitua/laravel-nida/releases)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

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

[](#installation)

You can install the package via Composer:

```
composer require emilkitua/laravel-nida
```

Usage
-----

[](#usage)

To fetch user information based on ID number, do this:

```
use EmilKitua\Nida\Nida;

$nida = app(Nida::class);
$userDetail = $nida->loadUser('XXXXXXXXX');
print_r($userDetail);
```

The output will be similar to:

```
[
    'Nin' => 'XXXXXX',
    'Firstname' => 'XXXXXX',
    'Middlename' => 'XXXXXX',
    'Surname' => 'XXXXXX',
    'Othernames' => 'XXXXXX',
    'Sex' => 'XXXXXX',
    'Dateofbirth' => 'XXXXXX',
    'Residentregion' => 'XXXXXX',
    'Residentdistrict' => 'XXXXXX',
    'Residentward' => 'XXXXXX',
    'Residentvillage' => 'XXXXXX',
    'Residentstreet' => 'XXXXXX',
    'Residentpostcode' => 'XXXXXX',
    'Permanentregion' => 'XXXXXX',
    'Permanentdistrict' => 'XXXXXX',
    'Permanentward' => 'XXXXXX',
    'Permanentvillage' => 'XXXXXX',
    'Permanentstreet' => 'XXXXXX',
    'Birthcountry' => 'XXXXXX',
    'Birthregion' => 'XXXXXX',
    'Birthdistrict' => 'XXXXXX',
    'Birthward' => 'XXXXXX',
    'Nationality' => 'XXXXXX',
    'Phonenumber' => 'XXXXXX',
    'Maritalstatus' => 'XXXXXX',
    'Occupation' => 'XXXXXX',
    'Primaryschooleducation' => 'XXXXXX',
    'Primaryschooldistrict' => 'XXXXXX',
    'Primaryschoolyear' => 'XXXXXX',
    'Photo' => 'XXXXXX',
    'Signature' => 'XXXXXX',
    'Nationalidnumber' => 'XXXXXX',
    'Lastname' => 'XXXXXX'
]
```

You can access user information by using keys and attributes just as shown below:

```
echo $userDetail['Firstname']; // 'XXXXXX'
echo $userDetail->get('Middlename'); // 'XXXXXX'
echo $userDetail->Lastname; // 'XXXXXX'
```

Image and Signature Support
---------------------------

[](#image-and-signature-support)

National ID Photo and Signature are auto-converted into PHP image resources, and you can easily save them:

```
imagepng($userDetail['Photo'], 'National_ID.png');
imagepng($userDetail['Signature'], 'Signature.png');
```

If you want the data to be in the same format as the API without any side-effect preprocessing, do this instead while loading the user:

```
$userDetail = $nida->loadUser('xxxxxxxxxx', true);
print_r($userDetail);
```

Give it a Star
--------------

[](#give-it-a-star)

Did you find this repository useful? Give it a star so more people can discover it!

Issues
------

[](#issues)

Facing any issues with the package? Raise an issue on the [GitHub repository](https://github.com/emilkitua/laravel-nida/issues) and I will look into fixing it as soon as possible.

Contributions
-------------

[](#contributions)

Contributions are welcome! If there's anything you'd like to add, fork the repository and submit a pull request.

Disclaimers
-----------

[](#disclaimers)

This is not an official package. Therefore, I am not responsible for any misinformation or misuse of the package of any kind!

Credits
-------

[](#credits)

All the credits to [Kalebu](https://github.com/Kalebu/) for the python package that I replicated to create this

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

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

714d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10583a2653ba3f1292c2343aac771fcee00591fa047362f6a05d9a56837add57?d=identicon)[emilkitua](/maintainers/emilkitua)

### Embed Badge

![Health badge](/badges/emilkitua-laravel-nida/health.svg)

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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