Libraries tagged by object serialization
hprose/hprose
219924 Downloads
It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.
helgesverre/toon
120901 Downloads
Token-Oriented Object Notation - A compact data format for reducing token consumption when sending structured data to LLMs
sbsaga/toon
46459 Downloads
🧠TOON for Laravel — a compact, human-readable, and token-efficient data format for AI prompts & LLM contexts. Perfect for ChatGPT, Gemini, Claude, Mistral, and OpenAI integrations (JSON ⇄ TOON).
byjg/serializer
186090 Downloads
A powerful multi-format serialization library that converts objects, arrays, and data between JSON, XML, YAML, CSV, PHP serialize, and plain text formats with intelligent property mapping and transformation
square/pjson
38137 Downloads
Library for JSON PHP model serialization / deserialization. Deserialize JSON directly into your object model PHP classes.
yorcreative/laravel-argonaut-dto
3343 Downloads
Argonaut is a lightweight Data Transfer Object (DTO) package for Laravel that supports nested casting, recursive serialization, and validation out of the box. Ideal for service layers, APIs, and clean architecture workflows.
charescape/serialize-closure
10883 Downloads
A library that can be used to serialize closures (anonymous functions) and arbitrary objects.
silverstripe/closure
232233 Downloads
A library that can be used to serialize closures (anonymous functions) and arbitrary objects.
schulzefelix/laravel-data-transfer-object
44338 Downloads
Data Transfer Objects with Attribute Casting and Date Mutators.
reallifekip/immutable-base
423 Downloads
Strict immutable DTOs, VOs, and SVOs for PHP 8.4+ with construction-time type validation, deep path mutation, and automatic validation chaining.
iamgerwin/toon-php
3391 Downloads
A lightweight, fast, and feature-rich TOON (Token-Oriented Object Notation) library for PHP - optimized for LLM contexts with 30-60% token savings
fab2s/dt0
2073 Downloads
Immutable DTOs with bidirectional casting. No framework required. 8x faster than the alternative.
mjohnson/type-converter
52217 Downloads
Converts one resource to another (XML, JSON, Object, Array, Serialization).
toonphp/toon
607 Downloads
PHP implementation of TOON (Token-Oriented Object Notation) – Compact serialization for LLM prompts.
tiny-blocks/mapper
1869 Downloads
Maps PHP objects to and from arrays, JSON, and iterables through reflection and pluggable strategies.