Skip to content

PHP client for iptrace web-service API to determine location of visitors based on their IP.

Notifications You must be signed in to change notification settings

getiptrace/iptrace-php

Repository files navigation

iptrace.io PHP client Build Status

php client library for clear ip

Installation

composer require getiptrace/iptrace-php

usage

Get ip info:

<?php
require_once __DIR__ . '/../vendor/autoload.php';

use IPtrace\Client;

$iptrace = new Client('API Key Here');

try {

    var_dump($iptrace->IPInfoApi->GetAllDataByIP('IP Here'));

} catch (Exception $e) {
    echo $e->getMessage();
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

PHP client for iptrace web-service API to determine location of visitors based on their IP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages