Unofficial package for fetching users information based on National ID Number for Laravel applications.
- Fetch user information based on National ID Number
- Save user information to database (migration and model)
- Add command to fetch user information
- Add helper function to fetch user information
- Add cache to fetch user information
- Add tests
Note: User Image and Signature are currently not supported (Depreciated !!)
- PHP 8.0 or higher
- Laravel 8 or above
- Composer
You can install the package via composer:
composer require alphaolomi/laravel-nidaTo fetch user information based on ID Number, you can use the following method:
use Alphaolomi\Nida\Facades\Nida;
$userData = Nida::getUserData('XXXXXXXXXXXXXXXXXXXX');
echo $userData;use Alphaolomi\Nida\Nida;
$nida = new Nida();
echo $nida->getUserData('XXXXXXXXXXXXXXXXXXXX');composer testPlease see CHANGELOG for more information on what has changed recently.
Are you facing any issue with usage of the package, just raise an issue and I looking to fixing it as soon as I can.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
Did you find this repository useful to you ? Give it a star so as more people can get to know about it;
This is not an official package. It not endorsed by any organization or individual. Authors are not responsible for any misinformation or misuse of the package of any kind. Author is not responsible for any damages caused by use of the package.