Download the PHP package setono/economic-php-sdk without Composer
On this page you can find all versions of the php package setono/economic-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setono/economic-php-sdk
More information about setono/economic-php-sdk
Files in setono/economic-php-sdk
Package economic-php-sdk
Short Description Consume the Economic API with this PHP SDK
License MIT
Informations about the package economic-php-sdk
Economic PHP SDK
Consume the E-conomic API in PHP.
Installation
Usage
Get a collection
will output something like:
Paginate
Other requests
If the endpoint or method you want to call isn't present yet, you have two options: 1) Create a PR and add the missing parts or 2) use the generic request
method:
Production usage
Internally this library uses the CuyZ/Valinor library which is particularly well suited for turning API responses in DTOs. However, this library has some overhead and works best with a cache enabled.
When you instantiate the Client
you can provide a MapperBuilder
instance. Use this opportunity to set a cache:
You can read more about it here: Valinor: Performance and caching.
All versions of economic-php-sdk with dependencies
cuyz/valinor Version ^1.9
php-http/discovery Version ^1.19
psr/http-client Version ^1.0
psr/http-client-implementation Version ^1
psr/http-factory Version ^1.0
psr/http-factory-implementation Version ^1
psr/http-message Version ^1.0 || ^2.0
psr/log Version ^1.1 || ^2.0 || ^3.0
webmozart/assert Version ^1.11