PHP code example of qafeen / aadhaar

1. Go to this page and download the library: Download qafeen/aadhaar library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

qafeen / aadhaar example snippets


composer 

Qafeen\Aadhaar\AadhaarServiceProvider::class,

'Aadhaar' => Qafeen\Aadhaar\AadhaarFacade::class,

return [
    'modality'         => 'demo',
    'certificate-type' => 'preprod',
];

    return Validator::make($data, [
        'aadhaarId' => 'unique:users,aadhaar_id|valid_aadhaar',
    ], [
        'aadhaarId.unique' => 'Aadhaar id is already been used for registration.',
        'valid_aadhaar'    => 'Please check if your aadhaar id, pincode or name is valid as per your aadhaar card.',
    ]);