Search by

iswilson / canadapost-api

iswilson

Unofficial PHP library for communicating with Canada Post APIs.

Package info

github.com/iswilson/canadapost-api

pkg:composer/iswilson/canadapost-api

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.3.0 2026-10-26 20:26 UTC

This package is auto-updated.

Last update: 2026-10-26 20:50:34 UTC


README

This library is aimed at wrapping the Canada Post API into a simple to use PHP Library. Currently expected to start with the Rating API and build from there. Feel free to contribute.

Table Of Contents

  1. Requirements
  2. Installation
  3. Credits
  4. License

Requirements

This library requires PHP 8.3+.

To use the Canada Post API, you have to get your API info from Canada Post. For every request, you will have to provide the username, password. And some will need your Canada Post business number.

Installation

It is recommended that you install the PHP Canada Post API library through composer. To do so, run the Composer command to install the latest stable version of PHP Canada Post API:

composer require iswilson/canadapost-api

Credits

Forked from thejacer87/php-canadapost-api, originally developed by Jace Bennest at Acro Media.

License

PHP Canada Post API is licensed under The MIT License (MIT).