Installation#
To install Peso, first select the desired integration lib, then the desired service lib, like so:
composer require peso/peso peso/ecb-service php-http/discovery guzzlehttp/guzzle symfony/cache
In this example
peso/pesois a simple wrapper over Peso services for standalone usepeso/ecb-serviceis a service provider for the European Central BankECB service dependencies, same for all HTTP integrations:
php-http/discoveryis a HTTP client autoconfigure package. It is not required, you can configure the client manually.guzzlehttp/guzzleis a HTTP client known tophp-http/discovery. Any client supporting PSR-18 would do.symfony/cacheis a cache library if you need caching. Any PSR-16 library would do. (recommended)
|
||
|
||
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
|
You can suggest new integrations and services in our roadmap repo (GitHub only)