定制 addresses-and-postcodes/lookup-php-sdk 二次开发

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

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

addresses-and-postcodes/lookup-php-sdk

Composer 安装命令:

composer require addresses-and-postcodes/lookup-php-sdk

包简介

Addresses and Postcodes - Lookup PHP SDK

README 文档

README



GitHub

About

This is the official PHP SDK for the Addresses and Postcodes API. It provides a way to list coordinates to produce a polygon and such.

Requirements

Install

Via Composer:

$ composer require addresses-and-postcodes/lookup-php-sdk

Basic usage of Addresses-Postcodes-PHP-SDK client

<?php

// This file is generated by Composer
require_once __DIR__ . '/vendor/autoload.php';

$client = new AddressesAndPostcodes\Lookup\PHP\SDK\Client('API_KEY');
$response = $client->boundaries()->getAreaBoundaryPath('AB');

Tests

WARNING: Before running the tests, please add your api key in tests/TestCase.php

<?php

namespace AddressesAndPostcodes\Lookup\PHP\SDK\Tests;

use AddressesAndPostcodes\Lookup\PHP\SDK\Client;

abstract class TestCase extends \PHPUnit\Framework\TestCase
{
    protected function client(): Client
    {
        return new Client('API_KEY');
    }
}

To run the tests, go to the root folder of the project in terminal and run the following command:

$ composer tests

Documentation

See the doc directory for more detailed documentation.

License

Licensed under the MIT license, see LICENSE

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固