Introduction

2min
the klevu php sdk is a public library you can utilise in your php projects to handle common interactions with klevu services, without having to reinvent the wheel the library is designed to be simple enough to get up and running quickly, but extensible enough to allow you to tailor to your site and platform's specific needs getting started https //box klevu com/merchant/signup free trial, with full access to all features is available retrieve your js api key and rest auth key from store settings > store info in your account install the sdk in your application using composer composer require klevu/php sdk you can also browse and download the source code from github at https //github com/klevu/php sdk system requirements to use this library, you must be running a support version of php (8 1+) compiled with the libxml and simplexml extensions see the php docs for more information you will also require a psr 18 compatible http client, such as guzzlehttp/guzzle, which provides psr/http client implementation support a list of compatible libraries can be found on packagist we also recommend a psr 3 compatible logger library, such as monolog/monolog this will allow the sdk to write activity it performs to a location of your choice