fruitware/yandex-geocoder-bundle
Composer 安装命令:
composer require fruitware/yandex-geocoder-bundle
包简介
Symfony2 bundle for interactions with geo-coding Yandex.Maps
README 文档
README
Symfony2 bundle for interactions with geo-coding Yandex.Maps
Prerequisites
This version of the bundle requires Symfony 2.3+ or Symfony 3.0+.
Installation
Installation is a quick 4 step process:
- Download FruitwareYandexGeocoderBundle using composer
- Enable the Bundle
- Configure the FruitwareYandexGeocoderBundle
- Usage
Step 1: Download the bundle
Require the library in your composer.json file:
$ composer require fruitware/yandex-geocoder-bundle
Step 2: Register the bundle
Then, add the bundle in your AppKernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = [ // ... new Fruitware\YandexGeocoderBundle\FruitwareYandexGeocoderBundle(), ]; }
Step 3: Configure the FruitwareYandexGeocoderBundle
The bundle comes with a sensible default configuration, which is listed below.
# app/config/config.yml fruitware_yandex_geocoder: key: ~ version: 1.x # default lang: ru-RU # values:['ru-RU', 'uk-UA', 'be-BY', 'en-US', 'en-BR', 'tr-TR'] kind: ~ # default, values: ['house', 'street', 'metro', 'district', 'locality']
Contribution
Any question or feedback? Open an issue and I will try to reply quickly.
A feature is missing here? Feel free to create a pull request to solve it!
I hope this has been useful and has helped you. If so, share it and recommend it! :)
License
This bundle is available under the MIT license.
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-12