PHP code example of renderbit / indos-checker-api

1. Go to this page and download the library: Download renderbit/indos-checker-api 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/ */

    

renderbit / indos-checker-api example snippets


IndosChecker::checkValid('05LL0262', '14/08/1963');
true

IndosChecker::getData('05LL0262', '14/08/1963');
[
    "Name" => "YADAV SANJEEV",
    "Date of Birth" => "14-AUG-1963",
    "INDoS No." => "05LL0262",
    "Passport No." => "M2069200",
    "Passport Issue Date" => "15-SEP-2014",
    "Passport Valid To" => "14-SEP-2024",
    "CDC No." => "MUM 133201",
    "CDC Issue Date" => "22-MAY-2015",
    "CDC Valid To" => "21-MAY-2025",
    "CDC Issue Place" => "Mumbai",
]