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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

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

  1. PHP 5.3.10 compiled with the cURL extension
  2. 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

  1. Add fontis/auspost-api-php as a Composer dependency in your project's composer.json file:

  2. Download and install Composer into the repo:

  3. Install the library dependencies:

  4. Add the library to your PHP application:

Install using Git

  1. Clone this repo to an appropriate location:

  2. Download and install Composer into the repo:

  3. Install the library dependencies:

  4. 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.

  1. Follow the PHP-FIG standards recommendations - This library is written with adherence to the PSR-0, PSR-1 and PSR-2 standard recommendations.
  2. Write unit tests - Any new functionality should include corresponding tests.
  3. 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 Build Version
Package Version
Requires php Version ^7.1
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mannysoft/auspost-api-php contains the following files

Loading the files please wait ....