Download the PHP package idci/tudor-estock-client-bundle without Composer
On this page you can find all versions of the php package idci/tudor-estock-client-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download idci/tudor-estock-client-bundle
More information about idci/tudor-estock-client-bundle
Files in idci/tudor-estock-client-bundle
Package tudor-estock-client-bundle
Short Description Symfony bundle that provides an api client for Tudor E-Stock API
License CECILL-C
Informations about the package tudor-estock-client-bundle
Tudor E-Stock client bundle
Symfony bundle that provides an api client for Tudor E-Stock API
Installation
Install this bundle using composer:
Configuration
Create an Eightpoint Guzzle HTTP client
In the file config/packages/eight_points_guzzle.yaml, create a Tudor E-Stock API client :
Configure a cache pool
Create a dedicated Tudor E-Stock cache, or use any of your existing pools :
In the file config/services.yaml, register your cache pool :
In the file config/packages/cache.yaml, define your cache pool :
Configure tudor-estock-client-bundle
In config/packages/, create a idci_tudor_estock_client.yaml file :
Required parameters:
- guzzle_http_client_service_alias : The guzzle HTTP client alias
- client_id : The oAuth client ID
- client_secret : The oAuth client secret
- scope : The oAuth client scope
- issuer : The oAuth token issuer
Then, add these environment variable in your .env file :
All versions of tudor-estock-client-bundle with dependencies
symfony/cache Version ^6.0
symfony/dependency-injection Version ^6.0
symfony/http-kernel Version ^6.0
symfony/serializer-pack Version ^1.0
eightpoints/guzzle-bundle Version ^8.0
psr/log Version ^1|^2|^3