Download the PHP package firehed/cbor without Composer
On this page you can find all versions of the php package firehed/cbor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor firehed
Package cbor
Short Description CBOR decoder
License MIT
Homepage https://github.com/Firehed/CBOR
Package cbor
Short Description CBOR decoder
License MIT
Homepage https://github.com/Firehed/CBOR
Keywords cbor
Please rate this library. Is it a good library?
Informations about the package cbor
CBOR-PHP
Tools for working with the CBOR data format in PHP
Installation
composer require firehed/cbor
Usage
Note: Only decoding is supporing at this time
Decoding
There is currently very limited support for tagged types.
When an unsupported tag is encountered, an OutOfBoundsException
will be thrown.
Tagged type support
- [ ] 0 DateTime as string
- [ ] 1 DateTime as epoch
- [X] 2 Positive Bignum (returns as string, requires
bcmath
) - [X] 3 Negative Bignum (same)
- [ ] 4 Decimal fraction
- [ ] 5 Bigfloat
- [ ] 21 base64url string
- [ ] 22 base64 string
- [ ] 23 base16 string
- [ ] 24 CBOR
- [ ] 32 URI
- [ ] 33 base64url
- [ ] 34 base64
- [ ] 35 regexp
- [ ] 36 MIME message
- [ ] 55799 Self-describing CBOR
All versions of cbor with dependencies
PHP Build Version
Package Version
No informations.
The package firehed/cbor contains the following files
Loading the files please wait ....