Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Toon Laravel Package

helgesverre/toon

TOON is a compact, human-readable data format that cuts token usage when sending structured data to LLMs. This PHP port offers simple encode and decode methods, works on PHP 8.1+, and supports arrays, objects, and primitives.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
vinkius-labs/synapse-toon 0.84 Synapse Toon converts PHP arrays, Eloquent models, and JSON payloads into TOON, a compact token-efficient format for LLM prompts. Cut prompt size and API costs while keeping structured data readable, with simple Laravel helpers and configurable encoding. 2 2 0 0 0 6.1 — Apache-2.0 8 months ago
View on GitHub
yethee/tiktoken 0.84 This PHP port of OpenAI's tiktoken lets you encode text into tokens for models like gpt-3.5-turbo and any BPE encoding such as p50k_base. Includes vocabulary caching by default and an experimental FFI lib mode for faster encoding of larger texts. 166 167 28 284K 4 14.2 48.1 MIT 7 months ago
View on GitHub
sbsaga/toon 0.82 — 69 72 9 13K 0 12.7 33.6 MIT 6 months ago
View on GitHub
Context7
rajentrivedi/tokenizer-x 0.82 Tokenizer X is a Laravel package for generating and managing secure, unique tokens in your application. Use it for API authentication, email verification, password resets, and similar flows, with configurable token length and expiry. 91 — 9 — 0 1.6 1.5 MIT 2 years ago
View on GitHub
knackline/laravel-toon 0.82 — 1 1 0 1K 0 20.0 44.3 — 6 days ago
View on GitHub
squareetlabs/laravel-toon 0.82 — 0 0 0 0 0 0.8 — — 11 months ago
View on GitHub
lucianotonet/groq-php 0.81 A PHP SDK for the GroqCloud API that lets developers add fast LLM inference to any PHP app, with chat completions, tool calling, vision, reasoning, audio transcription, text-to-speech, batch processing, and RAG support. 80 83 16 25K 3 23.3 40.2 MIT 2 months ago
View on GitHub
Context7
mehrab-wj/tiktoken-php 0.80 A PHP port of OpenAI's tiktoken tokenizer for fast, accurate BPE token counting. Supports GPT-4, GPT-3.5, and other model encodings, so you can count tokens and estimate API costs directly in Laravel or plain PHP without extra services. 17 — 3 — 0 0.2 — MIT 3 years ago
symfony/ai-meta-platform 0.80 Bridge for Meta's Llama models in Symfony AI, translating prompts into the correct Llama 3, 3.2, and 3.3 chat formats so you can use Meta's platform seamlessly within your Symfony AI applications. 2 2 0 50K 0 23.0 64.8 MIT 1 week ago
View on GitHub
juststeveking/ollama-php 0.80 A PHP SDK for working with Ollama, making it easy to run and interact with local large language models. Provides a clean API for text generation, chat, embeddings, and model management in your Laravel or PHP applications. 28 28 8 2 2 0.9 0.8 — —
View on GitHub
torann/json-ld 0.80 torann/json-ld is a Laravel package for generating JSON-LD structured data. It provides a fluent builder for schema.org markup, supports multiple schema types, and makes adding SEO-friendly rich results to your application simple. 148 152 59 12K 14 7.2 31.6 BSD-2-Clause 6 years ago
View on GitHub
symfony/ai-platform 0.80 Experimental Symfony component offering an abstraction layer for AI models and their providers. It defines common contracts and interfaces, while separate bridge packages add support for platforms like Anthropic, OpenAI, Gemini, Ollama, and Mistral. Install with composer require symfony/ai-platform. 55 55 14 462K 0 23.7 63.4 MIT 1 week ago
View on GitHub
mis3085/tiktoken-for-laravel 0.80 TikToken for Laravel brings OpenAI's tiktoken tokenizer to your app, letting you count, encode, and decode tokens for GPT models through a simple facade. Estimate API costs, trim prompts to fit context limits, and integrate token counts into validation, logging, or usage tracking. 27 — 6 — 0 10.5 — MIT 6 months ago
View on GitHub
seld/jsonlint 0.79 A PHP JSON parser and linter that validates JSON with clear error messages, supports parsing, duplicate-key handling, comments, associative arrays, and UTF-8 validation. 1,322 1,348 58 4M 0 27.9 53.6 MIT 4 months ago
View on GitHub
symfony/ai-open-responses-platform 0.79 Integrates Open Responses into Symfony AI Platform, letting you use the Open Responses specification and OpenAI Responses API contract through Symfony's unified AI components. Includes documentation links and standard Symfony contribution resources for reporting issues and submitting pull requests. 3 3 0 210K 0 22.5 64.7 MIT 1 week ago
View on GitHub
torann/remote-model 0.79 torann/remote-model brings Eloquent-style remote models to Laravel, letting your app query, create, update, and delete RESTful API resources over HTTP as if they were local database models, with support for scopes, relationships, and caching. 48 48 7 0 0 0.9 — BSD-2-Clause 9 years ago
View on GitHub
symfony/ai-hugging-face-platform 0.79 The Symfony AI HuggingFace bridge integrates the HuggingFace Inference API, giving access to thousands of models across multiple providers. It supports 40+ AI tasks like chat, vision, audio, and embeddings, with model discovery and type-safe results. 4 4 1 3K 0 22.8 44.8 MIT 1 week ago
View on GitHub
danielstjules/stringy 0.79 Stringy is a PHP library for Unicode-safe string manipulation with a fluent, object-oriented API. Chain helpers for trimming, casing, substrings, padding, replacing, slugifying, and more, without worrying about multibyte issues. 2,429 2,471 218 101K 18 32.0 33.2 MIT 9 years ago
View on GitHub
yab/cerebrum 0.79 Cerebrum is a Laravel package for building and managing AI agents and assistants, with tool calling, prompt handling, and model integrations. It gives PHP developers a structured way to wire LLM-powered features into their applications without leaving the Laravel ecosystem. 7 9 0 48 0 0.0 8.2 MIT —
View on GitHub
phpstan/phpstan 0.79 PHPStan is a PHP static analysis tool that finds bugs in your code without running it. It catches whole classes of errors before tests are written, bringing compiled-language-style correctness checks to PHP projects. 14,147 14,221 972 19M 1,056 94.9 77.1 MIT 3 days ago
View on GitHub
Context7
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource