Download the PHP package mannysoft/auspost-api-php without Composer
On this page you can find all versions of the php package mannysoft/auspost-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mannysoft/auspost-api-php
More information about mannysoft/auspost-api-php
Files in mannysoft/auspost-api-php
Package auspost-api-php
Short Description Auspost API Client Library for PHP
License OSL-3.0
Informations about the package auspost-api-php
Auspost API Client Library for PHP
This library is a Guzzle-based client for integrating PHP applications with Australia Post's web services.
Documentation on how to use this library can be found in the Postage Assessment Calculation and Postcode Search and the Delivery Choices specifications.
Table of Contents
- Getting Started
- Register to use Australia Post services
- Minimum requirements
- Install using Composer
- Install using Git
- Quick Example
- Calculate domestic parcel postage cost
- Contributions
- Guidelines
- Contributors
Getting Started
Register to use Australia Post services
You will need to apply for an API key if you want to use the Postage Assessment Calculator and Postcode Search services. Similarly, you will also need to apply for permission to use the Delivery Choices service.
Minimum requirements
- PHP 5.3.10 compiled with the cURL extension
- cURL 7.22.0
Note: The library is likely to work with earlier versions of PHP and cURL, but they have not been tested.
Install using Composer
-
Add
fontis/auspost-api-php
as a Composer dependency in your project'scomposer.json
file: -
Download and install Composer into the repo:
-
Install the library dependencies:
- Add the library to your PHP application:
Install using Git
-
Clone this repo to an appropriate location:
-
Download and install Composer into the repo:
-
Install the library dependencies:
- Add the library to your PHP application:
Quick Example
Calculate domestic parcel postage cost
Contributions
This project is open source. You are encouraged to fork and submit pull requests.
Guidelines
Please ensure your code adheres to the following guidelines in order for your pull request to be accepted.
- Follow the PHP-FIG standards recommendations - This library is written with adherence to the PSR-0, PSR-1 and PSR-2 standard recommendations.
- Write unit tests - Any new functionality should include corresponding tests.
- Add the licence header to new files - We would appreciate having licence headers been added to the top of new files.
All versions of auspost-api-php with dependencies
php-http/client-common Version ^2.0.0
php-http/client-implementation Version ^1.0
php-http/discovery Version ^1.6
php-http/httplug Version ^2.0
php-http/message Version ^1.7
php-http/message-factory Version ^1.0.2