spomky-labs/cbor-php
Comprehensive PHP 8+ CBOR (RFC 8949) encoder/decoder with full major type support, extensible tags, streaming decoding, indefinite-length handling, and normalization to native PHP types; includes common tags and custom tag support.
Adopt when:
Look elsewhere when:
msgpack for raw speed).cbor or cbor-js are more mature).For Executives: "This package lets us adopt CBOR, a modern binary format that’s 30–50% smaller than JSON and 2–3x faster to parse. It’s already used in WebAuthn, IoT, and blockchain—enabling us to reduce API payload sizes, cut latency, and support emerging standards like COSE for secure tokens. The MIT license and active maintenance make it a low-risk choice compared to building from scratch."
For Engineers:
*"The spomky-labs/cbor-php library gives us a batteries-included CBOR toolkit with:
For Architects: *"This solves three critical problems:
How can I help you explore Laravel packages today?