API client generated from OpenAPI definition from Logistics-X.com

dev-master 2023-01-27 16:04 UTC

This package is auto-updated.

Last update: 2024-06-27 19:00:31 UTC


Code generated from Logistics-X.com's OpenAPI file using allansun/openapi-code-generator.

Generated code is well self-documented with proper PHPDoc annotations.

Please refer to Logistics-X.com's documentation for detailed API behaviour explanation.


composer require logistics-x/logistics-sdk

You will also need a PSR-18 compatible client see https://docs.php-http.org/en/latest/clients.html

So either use Guzzle (or any other PSR-18 compatible clients)

composer require php-http/guzzle7-adapter


This project matches Logistics-X's API versioning.

Should you found a matching version not being available. Please contact the author to generate against correct version.


First you need to create a PSR-18 Then in your business logic you can call API operations directly

use LogisticsX\Users\Api\User;
$httpClient = new \GuzzleHttp\Client([
    'base_uri' => 'https://www.logistics-x.com/',
        'Authorization'=> 'Bearer <accessToken>'
$api = new User($httpClient);

$users = $api->getUserCollection();