noccylabs/pson (0.1.0)
Published 2026-05-15 23:18:34 +00:00 by noccy
Installation
{
"repositories": [{
"type": "composer",
"url": "https://dev.noccylabs.info/api/packages/noccylabs/composer"
}
]
}composer require noccylabs/pson:0.1.0About this package
A packed serialized object notation for efficient transfer of JSON-compatible structures
Packed Serialized Object Notation (PSON)
This is a reference implementation as well as the specification for a binary serialization format that is JSON compatible.
It was created in order to efficiently pack structures to be sent over UDP.
Usage
// Turn your data into a binary blob
$packed = NoccyLabs\Pson\Pson::encode($data);
// Turn a binary blob back into data
$data = NoccyLabs\Pson\Pson::decode($packed);
Dependencies
Development Dependencies
| ID | Version |
|---|---|
| phpunit/phpunit | ^13.1 |
Details
2026-05-15 23:18:34 +00:00
Assets (1)
Versions (1)
View all
Composer
3
Christopher Vagnetoft
GPL-2.0-or-later
12 KiB
noccylabs-pson.0.1.0.zip
12 KiB
0.1.0
2026-05-15