toon and toon-php

These are ecosystem siblings—TOON is the specification and reference TypeScript implementation, while the PHP implementation provides language-specific tooling for the same serialization format standard.

toon
67
Established
toon-php
39
Emerging
Maintenance 13/25
Adoption 15/25
Maturity 22/25
Community 17/25
Maintenance 6/25
Adoption 10/25
Maturity 13/25
Community 10/25
Stars: 23,207
Forks: 1,033
Downloads:
Commits (30d): 1
Language: TypeScript
License: MIT
Stars: 115
Forks: 8
Downloads:
Commits (30d): 0
Language: PHP
License: MIT
No risk flags
No Package No Dependents

About toon

toon-format/toon

🎒 Token-Oriented Object Notation (TOON) – Compact, human-readable, schema-aware JSON for LLM prompts. Spec, benchmarks, TypeScript SDK.

TOON helps developers working with Large Language Models (LLMs) by providing a more compact and readable way to format structured data inputs. It takes existing JSON data and translates it into a token-efficient format that LLMs can process reliably, reducing both cost and potential errors. This is primarily useful for AI/ML engineers and data scientists preparing data for LLM prompts.

LLM-prompting AI-data-preparation token-optimization structured-data natural-language-processing

About toon-php

HelgeSverre/toon-php

Token-Oriented Object Notation - A compact data format for reducing token consumption when sending structured data to LLMs (PHP implementation)

When working with Large Language Models (LLMs) in PHP, this tool helps you convert your structured PHP data (like arrays or objects) into a compact text format called TOON. This format uses fewer tokens than standard JSON, which can lower your LLM API costs and allow you to send more information within the same context window. It's designed for PHP developers or engineers building applications that interact with LLMs.

LLM application development API cost optimization data serialization prompt engineering PHP development

Scores updated daily from GitHub, PyPI, and npm data. How scores work