TOON encoding for Laravel. Encode data for AI/LLMs with ~50% fewer tokens than JSON.
-
Updated
Mar 23, 2026 - PHP
TOON encoding for Laravel. Encode data for AI/LLMs with ~50% fewer tokens than JSON.
Token-Oriented Object Notation - A compact data format for reducing token consumption when sending structured data to LLMs (PHP implementation)
TOON — Laravel AI package for compact, human-readable, token-efficient data format with JSON ⇄ TOON conversion for ChatGPT, OpenAI, and other LLM prompts.
Laravel integration for TOON format: encode/decode JSON data into a token-optimized notation for LLMs.
TOON for TYPO3 — 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).
TOON-PHP is a complete PHP library for encoding/decoding Token-Oriented Object Notation, a compact, LLM-optimized format blending YAML nesting and CSV tables for lossless JSON serialization in AI prompts.
A lightweight, fast TOON (Token-Oriented Object Notation) library for PHP. Optimized for LLM contexts. PHP 7.0-8.0 [legacy] and 8.1 and up [modern] support.
Lightweight PHP library for encoding/decoding TOON (Token-Oriented Object Notation). A human-readable, LLM-friendly alternative to JSON.
Just like synapses optimize neural transmission with precise weights, Synapse TOON optimizes your API payloads with precision encoding. 30-60% fewer tokens, neural-grade efficiency.
json-to-toon is a lightweight PHP library that converts verbose JSON into a compact, LLM-optimized format called TOON. The TOON format preserves structure while minimizing token usage, improving context efficiency for large language models such as ChatGPT and Claude.
🛠️ Implement TOON in PHP for efficient serialization of JSON-like data, optimizing parsing for Large Language Models while maintaining clarity and structure.
Add a description, image, and links to the toon topic page so that developers can more easily learn about it.
To associate your repository with the toon topic, visit your repo's landing page and select "manage topics."