定制 altrozero/get-address-io-php 二次开发

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

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

altrozero/get-address-io-php

Composer 安装命令:

composer require altrozero/get-address-io-php

包简介

Quick interface for using getAddress.io find functionality

README 文档

README

Repo for using GetAddress.io within PHP

Currently only implements find.

Requires an API key!

How to Use

<?php
    $apiKey = '';

    $getAddress = new GetAddress($apiKey);

    // Get a list of addresses in a postcode
    $getAddress->find('SR51NA');

    // Get detailed information about an address
    $getAddress->find('SR51NA', 132, false, true, true);

Unit Testing

To setup PHPUnit to test everything you'll need to add your API key.

You can configure your suite by adding a global var of GETADDRESS_API_KEY and calling test/GetAddressTest.php

<php>
    <var name="GETADDRESS_API_KEY" value="" />
</php>
<testsuites>
    <testsuite name="get-address-io-php test">
        <file>test/GetAddressTest.php</file>
    </testsuite>
</testsuites>

To implement

  • Parse addresses in to objects before returning
  • Add admin functionality
  • Long & Lat functionaility

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2019-04-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固