PHP Package: spomky-labs/cbor-php

CBOR encoding and decoding library for PHP applications with high performance and reliability.

Current Version: 3.1.1
Last Updated: 2025-06-13
PHP Requirement: >=8.0
Dependencies:
spomky-labs/cbor
⚠️ 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.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.1.1

Download Download v3.1.1

Previous Versions

Code Integration Example

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.