Repository navigation
v2.0.0-alpha.1
Pre-release
Pre-release
First alpha of the 2.x line — a full rewrite. Not production-ready; the API may still change before the stable 2.0.0.
2.x re-architects the SDK while keeping the PHP >=8.1 requirement:
- Immutable, constructor-injected
Client— sandbox toggle vianew Client($user, $key, sandbox: true); all setters removed. - Base-class endpoints with
getPage()/paginate();pickupPoints()->search()returns a plain list;get()/post()/delete()return decoded arrays. - Typed request DTOs (
SalesOrderRequest,WebhookRequest, …) serialized via Valinor's normalizer; class constants replaced by native enums. Resourceresponses expose the full untouched payload via->rawfor any field not yet typed.- Typed exception hierarchy under the
ShipmondoExceptionmarker interface, withgetError(). - Tooling: PHPStan at level
max, dependency analysis viacomposer-dependency-analyser. Verified end-to-end against the Shipmondo sandbox.
Upgrading from 1.x
See UPGRADE.md for the complete migration guide covering every breaking change.
Full rewrite details in #5.