mischasigtermans/laravel-toon

TOON encoding for Laravel. Encode data for AI/LLMs with ~50% fewer tokens than JSON.

41
/ 100
Emerging

This project helps developers working with Large Language Models (LLMs) to optimize the data they send to these models. It takes structured data, like user profiles or database records, and converts it into a highly compact TOON format. The result is significantly smaller data that takes up less of the LLM's context window, allowing more information to be processed or reducing API costs.

129 stars.

Use this if you are building applications with Laravel and frequently send structured data to LLMs, where every token in the prompt matters for cost or context window limitations.

Not ideal if your application does not use Laravel, or if you don't interact with LLMs where token count is a critical concern.

LLM-powered-applications AI-integration token-optimization prompt-engineering data-serialization
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 13 / 25
Community 8 / 25

How are scores calculated?

Stars

129

Forks

6

Language

PHP

License

MIT

Last pushed

Jan 21, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/mischasigtermans/laravel-toon"

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