Skip to content

Commit 9fa3944

Browse files
Update workflow and enhance README badges and info
Downgraded actions/checkout version in tests workflow from v6 to v4 for compatibility. Added Packagist badges, requirements, and credits sections to README for improved documentation and visibility.
1 parent 6e602d9 commit 9fa3944

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
steps:
3636
- name: Checkout code
37-
uses: actions/checkout@v6
37+
uses: actions/checkout@v4
3838

3939
- name: Setup PHP
4040
uses: shivammathur/setup-php@v2

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Laravel TOON
22

3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/mischasigtermans/laravel-toon.svg?style=flat-square)](https://packagist.org/packages/mischasigtermans/laravel-toon)
4+
[![Total Downloads](https://img.shields.io/packagist/dt/mischasigtermans/laravel-toon.svg?style=flat-square)](https://packagist.org/packages/mischasigtermans/laravel-toon)
5+
36
Token-Optimized Object Notation encoder/decoder for Laravel with intelligent nested object handling.
47

58
TOON is a compact, YAML-like format designed to reduce token usage when sending data to LLMs. This package achieves **40-60% token reduction** compared to JSON while maintaining full round-trip fidelity.
@@ -283,6 +286,15 @@ public function index(Request $request)
283286
composer test
284287
```
285288

289+
## Requirements
290+
291+
- PHP 8.2+
292+
- Laravel 10, 11, or 12
293+
294+
## Credits
295+
296+
- [Mischa Sigtermans](https://github.com/mischasigtermans)
297+
286298
## License
287299

288300
MIT

0 commit comments

Comments
 (0)