Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mawuva/geo-target-ip
A PHP package to geo targeting IP address
https://github.com/mawuva/geo-target-ip
geo-target-ip ip-meta-information mawuekom
Last synced: 7 days ago
JSON representation
A PHP package to geo targeting IP address
- Host: GitHub
- URL: https://github.com/mawuva/geo-target-ip
- Owner: mawuva
- License: mit
- Created: 2021-06-17T23:39:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-20T01:28:23.000Z (over 3 years ago)
- Last Synced: 2024-04-30T12:48:10.711Z (7 months ago)
- Topics: geo-target-ip, ip-meta-information, mawuekom
- Language: PHP
- Homepage: https://packagist.org/packages/mawuekom/geo-target-ip
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Geo Target IP
[![License](https://poser.pugx.org/mawuekom/geo-target-ip/license)](https://packagist.org/packages/mawuekom/geo-target-ip)
A PHP package to geo targeting IP address.
This package uses [Geoplugin API](http://www.geoplugin.com/) to get IP informations.
## Installation
You can install the package via composer:
```bash
composer require mawuekom/geo-target-ip
```## Usage
```php
use Mawuekom\GeoTargetIp\GeoTargetIp;class Test
{
use GeoTargetIp;public function ipDetails()
{
return $this ->locate('125.0.0.4');
}
}
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.