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

This package helps Laravel developers working with AI to efficiently send structured data to large language models (LLMs) or store it in logs. It takes your existing JSON or PHP array data and converts it into a more compact, human-readable 'TOON' format. This makes your prompts more token-efficient for services like ChatGPT, and your debug logs cleaner. This is for developers building applications with Laravel and integrating with AI services.

Use this if you are a Laravel developer sending structured data to AI models or storing it in logs, and you want to reduce token usage and improve human readability compared to standard JSON.

Not ideal if your primary goal is maximum data compression for long-term storage or if you are not working within the Laravel PHP framework.

AI-integration prompt-engineering application-logging API-optimization Laravel-development
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.