toon-php and laravel-toon

toon-php
39
Emerging
laravel-toon
26
Experimental
Maintenance 6/25
Adoption 10/25
Maturity 13/25
Community 10/25
Maintenance 6/25
Adoption 7/25
Maturity 13/25
Community 0/25
Stars: 115
Forks: 8
Downloads:
Commits (30d): 0
Language: PHP
License: MIT
Stars: 26
Forks:
Downloads:
Commits (30d): 0
Language: PHP
License: MIT
No Package No Dependents
No Package No Dependents

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

About laravel-toon

jobmetric/laravel-toon

Laravel integration for TOON format: encode/decode JSON data into a token-optimized notation for LLMs.

This is a tool for developers using the Laravel framework who need to prepare JSON data for use with Large Language Models (LLMs). It converts your standard JSON objects into a special, token-optimized TOON format, which reduces the cost and improves the efficiency of interacting with LLMs. Developers can feed their structured data into this tool and get back a compact string that LLMs can process more effectively.

Laravel development LLM data preparation API integration backend development token optimization

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