定制 postmaster/postmaster-php 二次开发

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

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

postmaster/postmaster-php

最新稳定版本:1.3.2

Composer 安装命令:

composer require postmaster/postmaster-php

包简介

Library for postmaster.io service

README 文档

README

Developer Friendly Shipping

Postmaster takes the pain out of sending shipments via UPS, Fedex, and USPS.

Save money before you ship, while you ship, and after you ship.

https://www.postmaster.io/

Requirements

Issues

Please use appropriately tagged github issues to request features or report bugs.

Installation

You can install using composer or from source.

Composer

If you don't have Composer install it:

$ curl -s https://getcomposer.org/installer | php

Add this to your composer.json:

{
    "require": {
        "postmaster/postmaster-php": "*"
    }
}

Refresh your dependencies:

$ php composer.phar update

Then make sure to require the autoloader:

<?php
require(__DIR__ . '/vendor/autoload.php');
...

Source

Download the postmaster-php source:

$ git clone https://github.com/postmaster/postmaster-php

And then require all bootstrap files:

<?php
require_once("/path/to/postmaster-php/lib/Postmaster.php");
...

Quickstart

curl -s http://getcomposer.org/installer | php

echo '{
    "require": {
        "postmaster/postmaster-php": "*"
     }
}' > composer.json

php composer.phar install

curl https://raw.github.com/postmaster/postmaster-php/master/Example.php > Example.php

php Example.php

Usage

See https://www.postmaster.io/docs for tutorials and documentation.

Some examples also in Example.php file.

Testing

$ cd tests
$ PM_API_KEY=your-api-key phpunit

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 8
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-01-30