Libraries tagged by token-optimization
sbsaga/toon
44154 Downloads
🧠TOON for Laravel — 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).
mischasigtermans/laravel-toon
28445 Downloads
Token-Optimized Object Notation encoder/decoder for Laravel with intelligent nested object handling
iamgerwin/toon-php
3265 Downloads
A lightweight, fast, and feature-rich TOON (Token-Oriented Object Notation) library for PHP - optimized for LLM contexts with 30-60% token savings
adachsoft/ai-agent-context-tool-compaction
11 Downloads
Conversation context strategy for adachsoft/ai-agent that compacts old tool call payloads to reduce token usage.
phpiando/toonify
1 Downloads
A PHP library to convert between JSON and TOON format for optimized LLM data exchange.
kabdullah27/php-token-squeezer
3 Downloads
General-purpose AI token optimization library for PHP — compress context, reduce costs, boost speed.
bluefly/llm
107 Downloads
LLM Platform Core Module - Comprehensive AI/LLM integration for Drupal with token optimization, analytics, and provider management