Download the PHP package apiship/apidq-client-php without Composer
On this page you can find all versions of the php package apiship/apidq-client-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package apidq-client-php
ApiDQ API PHP Client
This is the PHP ApiDQ API client. This library allows using of the actual API version. You can find more info in the documentation.
Installation
Follow those steps to install the library:
- Download and install Composer package manager.
- Install the library from the Packagist by executing this command:
Note: API client uses php-http/client-implementation
as a PSR-18, PSR-17 implementation. You can replace those
implementations during installation by installing this library with the implementation of your choice, like this:
Usage
Firstly, you should initialize the Client. The easiest way to do this is to use the SimpleClientFactory
:
The client is separated into several resource groups, all of which are accessible through the Client's public properties. You can call API methods from those groups like this:
To handle errors you must use two types of exceptions:
ApiDQ\Exception\Service\ServiceException
for the api service error.ApiDQ\Exception\Client\BuilderException
for the client builder error.
All versions of apidq-client-php with dependencies
ext-json Version *
doctrine/annotations Version ^1.8
symfony/property-info Version ^5.3
symfony/property-access Version ^v5.3
symfony/serializer Version ^5.3
symfony/cache Version >=v3.1.0
league/uri Version ^6.5
php-http/client-common Version ^2.4.0
php-http/message-factory Version ^v1.0.2
php-http/message Version ^1.12.0
php-http/discovery Version ^1.14.1
php-http/cache-plugin Version ^1.7
php-http/logger-plugin Version ^1.2
psr/cache Version ^1.0 || ^2.0 || ^3.0