PHPackages                             dagost/aton-format - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. dagost/aton-format

ActiveLibrary

dagost/aton-format
==================

ATON - Adaptive Token-Oriented Notation. A token-efficient data serialization format for LLM applications.

21PHP

Since Nov 24Pushed 5mo agoCompare

[ Source](https://github.com/dagoSte/aton-format-php)[ Packagist](https://packagist.org/packages/dagost/aton-format)[ RSS](/packages/dagost-aton-format/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ATON - Adaptive Token-Oriented Notation (PHP)
=============================================

[](#aton---adaptive-token-oriented-notation-php)

[![PHP Version](https://camo.githubusercontent.com/854124dd57cfd3aad3184fca9760bf1f33a5ec1e5d080cfbe8aa4e3337ba46e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e302d3838393242462e737667)](https://php.net/)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

**ATON** is a token-efficient data serialization format designed specifically for LLM applications. It reduces token usage by up to 55% compared to JSON while maintaining perfect data fidelity.

V2 Features
-----------

[](#v2-features)

- **Compression Modes**: FAST, BALANCED, ULTRA, ADAPTIVE
- **Query Language**: SQL-like syntax with full AST parser
- **Streaming Encoder**: Process large datasets in chunks
- **Dictionary Compression**: Automatic string deduplication
- **Full PHP 8 Support**: Enums, named arguments, typed properties
- **Zero Dependencies**: Lightweight and fast

Installation
------------

[](#installation)

```
composer require dagost/aton-format
```

Quick Start
-----------

[](#quick-start)

```
