aist / geolocation
Geolocation Developer Toolbar
0.1.0
2018-07-28 17:06 UTC
Requires
- php: ^5.6 || ^7.0
- zendframework/zend-eventmanager: ^2.6.2 || ^3.0
- zendframework/zend-modulemanager: ^2.7
- zendframework/zend-mvc: ^2.7 || ^3.0.1
- zendframework/zend-servicemanager: ^2.7.5 || ^3.0.3
- zendframework/zend-session: ^2.7
Requires (Dev)
- malukenho/docheader: ^0.1.5
- mmoreram/php-formatter: ^1.3
- pdepend/pdepend: ^2.5
- php-coveralls/php-coveralls: ^2.1
- phpmd/phpmd: ^2.6
- phpunit/php-code-coverage: ^5.2
- phpunit/phpunit: ^5.7.25 || ^6.4.4 || ^7.1
- squizlabs/php_codesniffer: ^3.0
- symfony/var-dumper: ^3.3
This package is not auto-updated.
Last update: 2024-12-22 06:14:45 UTC
README
Installation
Install via composer:
$ composer require aist/geolocation
Configuration
If you are using zend-component-installer it automatically registers module in modules.config.php
return [
...
'Aist\Geolocation',
...
];
Usage
$service = $sm->get(GeolocationService::class);
$location = $service->getLocation();
Interfaces
- \Aist\Geolocation\Adapter\AdapterInterface
- \Aist\Geolocation\Storage\StorageInterface
Listeners
- \Aist\Geolocation\Event\LocationListener