Download the PHP package omnibus/canpar without Composer
On this page you can find all versions of the php package omnibus/canpar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package canpar
omnibus/canpar
Canpar for omnisense/omnibus: rates, shipments with their labels, tracking and voids - the CanShip web services (SOAP).
Install and a first call
No account for this first call: Canpar's answer is recorded (Omnibus\Testing\RecordedHttpClient
answers in place of the API), so nothing leaves the process. With your own credentials, give the
factory your HTTP client (or none: it makes its own) and drop the recorded one.
A real call needs a Canpar account (the credentials below). The answer is shaped after Canpar's published documentation; the package has not been run against its service yet.
Configuration
No framework needed: the package requires omnisense/omnibus and symfony/http-client. In a
Symfony application, the same through the bundle's configuration:
The service is Canpar's service type: 1 Ground, 2 Select, 3 Overnight, 4 USA, 5 Select USA,
6 International. Rating asks once per service (option services picks them). Shipment options:
sender_province and recipient_province (two letters), label_format (PDF, ZPL for thermal).
No pickup points: Canpar delivers to the door.
Credentials: a Canpar account with CanShip web services access (ask your account manager for the sandbox login) and your shipper number.
Built from Canpar's published CanShip documentation and tested on recorded answers; not yet run against the sandbox: that needs the credentials above.
Responsibility
This package is an independent, unofficial client: it is not affiliated with, endorsed by or sponsored by Canpar Express (TFI International). It reaches their service on behalf of whoever runs it, and it does not redistribute their data beyond the short excerpts recorded as test fixtures. Its MIT licence covers this package's code only and grants no right to the service or to its data.
Whoever installs and runs this package is responsible for complying with Canpar's terms (canpar.com terms of use), for obtaining whatever they require (an account, a key, a licence or subscription, an attribution or a citation, a rate limit to respect), and for any use made of what it returns. The authors publish it free of charge, make no commercial use of it, and accept no liability for how it is used (see LICENSE).
License: MIT since 2026-10-09; earlier versions remain published under LGPL-3.0-or-later.
All versions of canpar with dependencies
omnisense/contracts Version ^1.0
omnisense/omnibus Version ^2.0
symfony/http-client Version ^6.4|^7.0|^8.0