Download the PHP package webhostingace/module-auspost without Composer

On this page you can find all versions of the php package webhostingace/module-auspost. 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 module-auspost

Auspost / Australia Post Magento 2 Extension by Web Hosting Ace

Australia Post shipping rates (PAC API) for Magento 2, with a real box packing algorithm. Standalone extension — carrier code auspost. Developed and maintained by Web Hosting Ace.

Features

Standalone extension

On install the module creates the product attributes it needs (skipped individually if an attribute already exists):

Attribute code Purpose
auspost_length Product length in cm
auspost_width Product width in cm
auspost_height Product height in cm
auspost_package_type Parcel (default) or Letter

The three dimension attributes are pre-selected in the Product Dimensions config. Products with empty values fall back to the configured default dimensions (10 cm each by default). Any other numeric attribute can be selected instead.

If any other extension using the carrier code auspost was previously installed, disable it first — two active carriers cannot share a code.

Requirements

Magento Supported PHP
2.4.4 / 2.4.5 8.1
2.4.6 8.2, 8.1
2.4.7 8.3, 8.2
2.4.8 8.4, 8.3
2.4.9 8.5, 8.4

Magento 2.3 and earlier are end-of-life and not supported.

Rates are Australia Post retail (PAC) rates. Contract/eParcel negotiated rates are not supported.

Installation

Composer (recommended)

Updating later:

Manual (app/code)

Use one method or the other — if a copy exists in app/code, it overrides the Composer copy in vendor and Composer updates will appear to have no effect.

Configuration

Stores → Configuration → Sales → Delivery Methods → Australia Post (WebHostingAce)

Box Packing (the important part)

Define your real cartons/satchels under Available Boxes: name, outer dimensions in cm, maximum content weight and empty-box (tare) weight in kg. Example set:

Box L W H Max kg Tare kg
Small Satchel 22 16 7 0.5 0.02
Small Box 22 16 10 5 0.10
Medium Box 30 22 15 10 0.20
Large Box 43 30 20 22 0.45

Enter outer carton dimensions — they are what Australia Post prices on. Wall thickness and packing material are absorbed by the Fill Factor (default 90% of volume usable).

Packing strategy per rate request:

  1. If all items fit one box, use the smallest box that holds them.
  2. Otherwise fill the largest suitable box greedily (largest items first) and repeat.
  3. Each resulting package is then downsized to the smallest box that holds its contents.
  4. Items that fit no box ship as their own package with their own dimensions.
  5. With no boxes defined, the whole cart is quoted as a single bounding package (legacy behaviour).

Constraints checked per box: rotation-aware dimensional fit, usable volume (× Fill Factor), max content weight, and an axis-aligned shelf/layer arrangement check against the configured box dimensions — pure volume maths would happily put two 6 cm cubes into a 10 cm cube; this module will not. Note the check uses the dimensions as entered (outer), so allow for wall thickness when configuring tight-fitting cartons. The check is deliberately conservative: borderline carts may split into one more box rather than risk an impossible fit. AusPost is quoted once per distinct package size/weight/value and each service's price is summed across packages. A service is only offered when it is available for every package.

Handling Applied = Per Package applies your handling fee once per packed box.

Debugging

Enable Debug Logging to see packing results and raw API traffic in var/log/debug.log:

After changing AusPost list prices (or your API key), flush the cache tag: php bin/magento cache:flush (responses use the WEBHOSTINGACE_AUSPOST tag, TTL configurable, default 86400s).

Notes

Support

Provided as-is, without warranty or guaranteed response times. Please include your Magento version, PHP version and the relevant var/log/debug.log lines (with Debug Logging enabled) when reporting rate issues.

License

MIT — see LICENSE. Copyright (c) 2026 Web Hosting Ace.


All versions of module-auspost with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
magento/framework Version *
magento/module-shipping Version *
magento/module-quote Version *
magento/module-catalog Version *
magento/module-eav Version *
magento/module-directory Version *
magento/module-config Version *
magento/module-store Version *
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 webhostingace/module-auspost contains the following files

Loading the files please wait ...