Laravel package for porichoybd.gov.bd APIs implementation.
monowarfs/porichoybd is a Laravel package for laravel package for porichoybd.gov.bd apis implementation..
It currently has 0 GitHub stars and 14 downloads on Packagist (latest version v0.0.3).
Install it with composer require monowarfs/porichoybd.
Discover more Laravel packages by monowarfs
or browse all Laravel packages to compare alternatives.
Last updated
Laravel package for porichoybd.gov.bd APIs implementation.
https://api.porichoybd.com/swagger/v1/swagger.json
You can install the package via composer:
composer require monowarfs/porichoybd
You can publish the config file with:
php artisan vendor:publish --tag="porichoybd-config"
This is the contents of the published config file:
return [
'is_live' => env('PORICHOY_GOV_BD_SERVICE_PROD', false),
'api'=> [
'key' => env('PORICHOY_GOV_BD_API_KEY', ''),
'endpoints' =>[
'live' => [
'basic' => 'https://api.porichoybd.com/api/Kyc/nid-person-values',
'basic_n_photo' => 'https://api.porichoybd.com/api/kyc/nid-person',
'basic_n_signature' => 'https://api.porichoybd.com/api/kyc/nid-person',
'autofill' => 'https://api.porichoybd.com/api/kyc/nid-person-values',
'fatchmatch' => 'https://api.porichoybd.com/api/kyc/nid-person-values-image-match',
'birth_registration' => 'https://api.porichoybd.com/api/kyc/verify-birth-registration'
],
'test' => [
'basic' => 'https://api.porichoybd.com/api/kyc/test-nid-person',
'basic_n_photo' => 'https://api.porichoybd.com/api/kyc/test-nid-person',
'basic_n_signature' => 'https://api.porichoybd.com/api/kyc/test-nid-person',
'autofill' => 'https://api.porichoybd.com/api/kyc/test-nid-person-values',
'fatchmatch' => 'https://api.porichoybd.com/api/kyc/test-nid-person-values-image-match',
]
]
],
];
$porichoy = new Monowarfs\PorichoyBD();
echo $porichoy->basic('{
"person_dob": "YYYY-MM-DD",
"national_id": "XXXXXXXXXX",
}');
composer test
Please see CHANGELOG for more information on what has changed recently.
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.