Download the PHP package sonnenglas/shiplogic-php-sdk without Composer
On this page you can find all versions of the php package sonnenglas/shiplogic-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sonnenglas/shiplogic-php-sdk
More information about sonnenglas/shiplogic-php-sdk
Files in sonnenglas/shiplogic-php-sdk
Package shiplogic-php-sdk
Short Description Unofficial PHP SDK for the Shiplogic REST API — the shipping platform behind The Courier Guy and other South African carrier brands. Covers rate quotes, shipments, label PDFs, cancellation, tracking and webhook payloads.
License MIT
Informations about the package shiplogic-php-sdk
Shiplogic PHP SDK
Unofficial PHP SDK for the Shiplogic shipping platform — the API behind The Courier Guy and other South African carrier brands.
Covers rate quotes, shipment CRUD, label and sticker PDF downloads, cancellation, tracking events, and inbound webhook payloads (tracking-event, shipment-note, parcel-dimension-changes, shipment-address-changes). Hand-crafted, dependency-light (Guzzle only), with first-class value objects and response DTOs.
Requirements
- PHP 8.1+
- ext-json
guzzlehttp/guzzle^7.1
Installation
Usage
Services
The Shiplogic facade exposes three services:
getShipmentService()— create / fetch / cancel shipments, download label PDFs and sticker labels.getRatesService()— fetch rate quotes for a collection/delivery pair.getTrackingService()— fetch a shipment's status and event timeline.
Webhooks
Shiplogic delivers webhooks for tracking-event, shipment-note, parcel-dimension-changes, and shipment-address-changes topics. The SDK ships first-class payload DTOs under Sonnenglas\Shiplogic\Webhooks\* so consumers can hydrate inbound payloads without re-parsing JSON.
Testing
Integration tests are gated on a sandbox token in tests/.env:
Credits
Built and maintained by Przemek Peron.
License
MIT. See LICENSE.