⚠️ To ensure full functionality, the above dependencies might be required.
Package Description
Enhance your PHP projects with the CBOR-PHP library, a robust tool offering efficient encoding and decoding capabilities. Seamlessly integrate Concise Binary Object Representation (CBOR) support, ensuring optimal data serialization and deserialization. Leveraging a streamlined approach, this library empowers developers to handle complex data structures effortlessly. Experience enhanced performance and reliability in your applications with CBOR-PHP, an essential asset for modern PHP development.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/spomky-labs/cbor-php/3.1.1/loader.php';
require_once 'libs/spomky-labs/cbor/{lib_version}/loader.php';
use SpomkyLabs\CBOR\Encoder;
use SpomkyLabs\CBOR\Decoder;
$obj = new Encoder();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.