mawuekom/geo-target-ip

A package to geo targeting IP address

1.0.2 2021-06-20 01:27 UTC

This package is auto-updated.

Last update: 2024-04-20 07:54:51 UTC


README

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.