everapi/numlookupapi-php

A PHP wrapper for the numlookupapi.com API

1.0 2023-04-04 13:47 UTC

This package is auto-updated.

Last update: 2024-03-22 16:43:40 UTC


README

68747470733a2f2f6170702e6e756d6c6f6f6b75706170692e636f6d2f696d672f6c6f676f2f6e756d6c6f6f6b75706170692e706e67

numlookupapi-php - Worldwide Phone Number Lookup & Verification API

Latest Version on Packagist Total Downloads

This package is a PHP wrapper for numlookupapi.com that aims to make the usage of the API as easy as possible in your project.

Installation

You can install the package via composer:

composer require everapi/numlookupapi-php

Usage

Initialize the API with your API Key (get one for free at numlookupapi.com):

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

Afterwards you can use the endpoints of the API like this:

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

Learn more about endpoints, parameters and response data structure in the docs.

License

The MIT License (MIT). Please see License File for more information.