Download the PHP package postmaster/postmaster-php without Composer
On this page you can find all versions of the php package postmaster/postmaster-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download postmaster/postmaster-php
More information about postmaster/postmaster-php
Files in postmaster/postmaster-php
Package postmaster-php
Short Description Library for postmaster.io service
License MIT
Homepage https://www.postmaster.io/
Informations about the package postmaster-php
Postmaster
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.
Requirements
Issues
Please use appropriately tagged github issues to request features or report bugs.
Installation
You can install using 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
All versions of postmaster-php with dependencies
ext-curl Version *