定制 api-postcode/php-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

api-postcode/php-client

最新稳定版本:1.0.4

Composer 安装命令:

composer require api-postcode/php-client

包简介

PHP Client Api Postcode

README 文档

README

A PHP client for fetching address detials from https://api-postcode.nl

Installation

Installation is a quick step process:

  1. Download the client with composer

Step 1: Download php-client using composer

$ composer require api-postcode/php-client

Usage

$token = 'secret-token';
$client = new ApiPostcode\Client\PostcodeClient($token);

$address = $client->fetchAddress('1082MD', 34);

$address->getStreet();      // Claude Debussylaan
$address->getCity();        // Amsterdam
$address->getHouseNumber(); // 34
$address->getZipCode();     // 1082MD
$address->getLatitude();    // 52.3377074
$address->getLongitude();   // 4.8719565

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-04