承接 pdir/geocode-cache-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pdir/geocode-cache-bundle

Composer 安装命令:

composer require pdir/geocode-cache-bundle

包简介

GeoCode Cache bundle for Contao 4

README 文档

README

Latest Stable Version Total Downloads License

About

The extension adds a new route /api/geocode/ to Contao and determines the latitude and longitude of an address. As a service, the OpenCage geocoder is used. 2000 requests per day are free - see https://opencagedata.com/pricing.
All requests are stored in a database table.

Deutsch

Die Erweiterung fügt eine neue Route api/geocode zu Contao hinzu und ermittelt die Latitude und Longitude Angaben einer Adresse. Als Dienst wird der OpenCage Geocoder verwendet. 2000 Anfrage pro Tag sind frei - see https://opencagedata.com/pricing.
Alle Anfragen werden in einer Datenbanktabelle gespeichert.

Example

Calling https://example.org/api/geocode/Ringstraße+9+28309+Bremen returns the following Json:

{ "lat": "53.0529439", "lng": "8.887199"}

Set API key and other parameters

app/config/parameters.yml

parameters:    
    pdir_gcb_opengage_api_key: INSERT_YOUR_OPENCAGE_API_KEY_HERE
    pdir_gcb_cache_time: 1 day (default is 1 hour if noting is set)

System requirements

Installation & Configuration

Dependencies

License

GNU Lesser General Public License v3.0

Tests & Coding Standard Checks

Run the PHP-CS-Fixer and the unit test before you release your bundle:

vendor/bin/php-cs-fixer fix -v
vendor/bin/phpunit

统计信息

  • 总下载量: 45
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2019-10-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固