dev-master
9999999-dev https://github.com/ludal74/GeolocationZF2 Geolocation module
MIT
The Requires
- php >=5.3.3
- zendframework/zendframework 2.*
geolocation zf2 ip free
Wallogit.com
2017 © Pedro Peláez
ZF2 Geolocation module
A zend framework 2 module for geolocation., (*1)
This module is available on Packagist.
In your project's composer.json use:, (*2)
{
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "*",
"geolocation/freegeoip": "dev-master"
}
./vendor/ directory.Usage:, (*3)
In the controller, (*4)
$geoloc = $this->getServiceLocator()->get('Geolocation\Service\Geolocation');
$geoloc->setIp( $ip);
$result = $geoloc->getLocation();
ZF2 Geolocation module
MIT
geolocation zf2 ip free