Skip to content

mawuva/geo-target-ip

Repository files navigation

Geo Target IP

License

A PHP package to geo targeting IP address.

This package uses Geoplugin API to get IP informations.

Installation

You can install the package via composer:

composer require mawuekom/geo-target-ip

Usage

use Mawuekom\GeoTargetIp\GeoTargetIp;

class Test
{
    use GeoTargetIp;

    public function ipDetails()
    {
        return $this ->locate('125.0.0.4');
    }
}

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

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