aist/geolocation

地理位置开发者工具栏

0.1.0 2018-07-28 17:06 UTC

This package is not auto-updated.

Last update: 2024-09-15 04:53:17 UTC


README

Build status Coverage Status Code Climate Packagist

License

安装

通过 composer 安装

$ composer require aist/geolocation

配置

如果你使用 zend-component-installer,它将自动在 modules.config.php 中注册模块

return [
    ...
    'Aist\Geolocation',
    ...
];

使用

$service = $sm->get(GeolocationService::class);
$location = $service->getLocation();

接口

  • \Aist\Geolocation\Adapter\AdapterInterface
  • \Aist\Geolocation\Storage\StorageInterface

监听器

  • \Aist\Geolocation\Event\LocationListener

Maintainability Test Coverage