delivery-sdk-php
delivery-sdk-php copied to clipboard
Kontent.ai Delivery SDK for PHP
The SDK sends a version tracking header in the following form: `X-KC-SDKID: packagist.org;kentico-kontent/delivery-sdk-php;0.9.1` with every request. This was implemented in #43 Currently, the tracking header is hardcoded in the [DeliveryClient.php](https://github.com/Kentico/kontent-delivery-sdk-php/blob/master/src/Kentico/Kontent/Delivery/DeliveryClient.php#L19)...
### Motivation To improve response times Delivery API might provide stale content. Stale means that there is a more recent version, but it will become available later. This information is...
Dependencies like `typeMapper`, `propertyMapper`, `valueConverter`, `*Factory` could be injected using DI. If we implemented DI, we could also have a default container and get rid of method such as [`getModelBinder`](https://github.com/Kentico/delivery-sdk-php/blob/master/src/KenticoCloud/Delivery/DeliveryClient.php#L319)....