Download the PHP package kielabokkie/ipdata without Composer
On this page you can find all versions of the php package kielabokkie/ipdata. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Short Description Get IP address information the using ipdata.co API
All versions of ipdata with dependencies
Informations about the package ipdata
Ipdata client library for PHP
Ipdata has a free plan that allows you to make 1,500 requests per day and paid plans if you need more than that. All plans need an API key and you'll have to register on their website to get one.
You can install the package via composer:
composer require kielabokkie/ipdata
Lookup of the calling IP address
Please note that when you instantiate the Ipdata class you have to pass your API key as a parameter.
Lookup a specific IP address
The Ipdata API will return the following data:
This library will run the response through a json_decode giving you an easy object to work with, for example: