Download the PHP package timothydc/exact-online-base-client without Composer
On this page you can find all versions of the php package timothydc/exact-online-base-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download timothydc/exact-online-base-client
More information about timothydc/exact-online-base-client
Files in timothydc/exact-online-base-client
Package exact-online-base-client
Short Description Exact Online base client
License MIT
Informations about the package exact-online-base-client
Exact Online Base Client
This package provides a wrapper for the Exact Online API.
Usage
The basic configuration looks like this:
Authorization
If you want to start a new authentication process, then call:
During the authentication process, EOL will redirect you to your callback URL. There you will need to do:
Now your $eolClient
-object is ready to make API requests:
Disconnect
If you want to disconnect and delete the access tokens, call the disconnection function on your client.
Internationalisation
If you want to retrieve the language dependent fields in a different language (e.g. Item description and Item long description), call the connection with a language parameter.
See also the Support\ExactLocale.php
file. For more information, see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=LogisticsItems#goodToKnow
Customization
Storage driver
Tokens will be saved, by default, in a json file on the local disk.
To make a custom driver, create a custom Vault class which extends the TokenVaultInterface
-interface.
And also a custom Token class which extends the AccessTokenInterface
-interface.
All versions of exact-online-base-client with dependencies
ext-json Version *
monolog/monolog Version ^1.26|^2.2
picqer/exact-php-client Version ^4.2
symfony/filesystem Version ^4.4|^5.4|^6.3
symfony/lock Version ^4.4|^5.4|^6.3