iptrace / iptrace-php
Free IP to Geolocation API.
dev-master
2019-07-01 19:06 UTC
Requires
- php: >=5.5
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ^4
This package is auto-updated.
Last update: 2025-03-01 00:21:48 UTC
README
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.