relaypoint/mondialrelay 问题修复 & 功能扩展

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

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

relaypoint/mondialrelay

最新稳定版本:v1.0.0

Composer 安装命令:

composer require relaypoint/mondialrelay

包简介

Relay point search for Mondial Relay

README 文档

README

Mondial Relay relay point search

Latest Version Software License Build Status Coverage Status Quality Score

Installation

Install via Composer. To install, simply add it to your composer.json file:

{
    "require": {
        "relaypoint/mondialrelay": "~1.0"
    }
}

And run composer to update your dependencies:

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

Usage

$o = (new GatewayFactory())->create('MondialRelay');
$o->setParameter('login', 'your login or enseigne code');
$o->setParameter('privateKey', 'your private key');

$a = $o->search(array('zip' => '75004', 'serviceCode' => '24R', 'weight' => 12000));

var_dump($a);

Testing

$ phpunit

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-17