PHP code example of everapi / numlookupapi-php

1. Go to this page and download the library: Download everapi/numlookupapi-php 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/ */

    

everapi / numlookupapi-php example snippets


$numlookupapi = new \Numlookupapi\NumlookupapiClient('YOUR-API-KEY');

echo $numlookupapi->status();

var_dump($numlookupapi->validate('2069220880', [
    'country_code' => 'US'
]));
bash
composer