2017 © Pedro Peláez
 

library postmaster-php

Library for postmaster.io service

image

postmaster/postmaster-php

Library for postmaster.io service

  • Saturday, July 12, 2014
  • by sargo
  • Repository
  • 9 Watchers
  • 12 Stars
  • 6,358 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 2 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

Postmaster

Developer Friendly Shipping, (*1)

Postmaster takes the pain out of sending shipments via UPS, Fedex, and USPS., (*2)

Save money before you ship, while you ship, and after you ship., (*3)

https://www.postmaster.io/, (*4)

Requirements

Issues

Please use appropriately tagged github issues to request features or report bugs., (*5)

Installation

You can install using composer or from source., (*6)

Composer

If you don't have Composer install it:, (*7)

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

Add this to your composer.json:, (*8)

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

Refresh your dependencies:, (*9)

$ php composer.phar update

Then make sure to require the autoloader:, (*10)

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

Source

Download the postmaster-php source:, (*11)

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

And then require all bootstrap files:, (*12)

<?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., (*13)

Some examples also in Example.php file., (*14)

Testing

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

The Versions

12/07 2014

dev-master

9999999-dev https://www.postmaster.io/

Library for postmaster.io service

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php >=5.3

 

api address validation postmaster shipping processing

03/06 2014

1.3.2

1.3.2.0 https://www.postmaster.io/

Library for postmaster.io service

  Sources   Download

MIT

The Requires

  • php >=5.3
  • ext-curl *

 

api address validation postmaster shipping processing

29/10 2013

1.3.1

1.3.1.0 https://www.postmaster.io/

Library for postmaster.io service

  Sources   Download

MIT

The Requires

  • php >=5.2
  • ext-curl *

 

api address validation postmaster shipping processing

22/08 2013

1.3.0

1.3.0.0 https://www.postmaster.io/

Library for postmaster.io service

  Sources   Download

MIT

The Requires

  • php >=5.2
  • ext-curl *

 

api address validation postmaster shipping processing

26/06 2013

1.2.0

1.2.0.0 https://www.postmaster.io/

Library for postmaster.io service

  Sources   Download

MIT

The Requires

  • php >=5.2
  • ext-curl *

 

api address validation postmaster shipping processing