sbsaga/toon

TOON — Laravel AI package for compact, human-readable, token-efficient data format with JSON ⇄ TOON conversion for ChatGPT, OpenAI, and other LLM prompts.

41
/ 100
Emerging

Provides bidirectional conversion with token estimation and diff utilities, enabling developers to measure compression gains and validate round-trip conversions. Built as a Laravel package with facade, helpers, and collection macros while maintaining backward compatibility through configurable modes—supports both legacy and strict parsing for production workflows. Demonstrates 43% character savings on typical paginated data through a table-like syntax that collapses repeated object structures into compact column-and-row notation.

No Package No Dependents
Maintenance 6 / 25
Adoption 8 / 25
Maturity 13 / 25
Community 14 / 25

How are scores calculated?

Stars

57

Forks

8

Language

PHP

License

MIT

Last pushed

Jan 03, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/sbsaga/toon"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.