filippo-toso/positionstack 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

filippo-toso/positionstack

最新稳定版本:v1.0.1

Composer 安装命令:

composer require filippo-toso/positionstack

包简介

A simple Laravel library to execute queries to positionstack.com

README 文档

README

A simple Laravel client to execute forward and reverse queries on positionstack.com

Installation

You can install the package via composer:

composer require filippo-toso/positionstack

Laravel support

Edit your config/services.php file and add the following fields:

    'positionstack' => [
        'key' => env('POINTSTACK_KEY_ID'),
    ],

Usage

In your Laravel application, you can execute calls as follow:

$data = PositionStack::forward('1600 Pennsylvania Ave NW, Washington DC');

// ...

$data = PositionStack::reverse('40.7638435,-73.9729691');

Both methods include a second optional parameter you can fill with the optional parameters described in the official documentation.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-15