iswilson / canadapost-api
Unofficial PHP library for communicating with Canada Post APIs.
Requires
- php: >=8.3
- ext-dom: *
- guzzlehttp/guzzle: ^7.0
- openlss/lib-array2xml: ^0.5.1
Requires (Dev)
- phpunit/phpunit: ^12.0
Suggests
None
Provides
None
Conflicts
Replaces
None
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
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).