The sabre/cbor library a PHP implementation for the Concise Binary Object Representation (rfc7049)