PHP library to access the KB REST API