Libraries tagged by token-counting
mozex/anthropic-laravel
555161 Downloads
The Claude companion for Laravel: the Anthropic API behind a facade, with batches, token counting, files, refusal fallback, named connections, events and test fakes, beside laravel/ai.
phoenix1331/laravel-ai-headroom
624 Downloads
Token counting and context limits for the Laravel AI SDK.
token27/nexus-ai-tokenizer
26 Downloads
Provider-agnostic LLM token counter for PHP 8.3+. Supports Tiktoken BPE (OpenAI, Claude approx.), HuggingFace JSON vocabularies (DeepSeek, LLaMA, Mistral), SentencePiece (Gemini), and extensible custom strategies.
identvia/agentpass-php
1 Downloads
AgentPass v0.1 Service SDK for PHP: let AI agents act for your users with single-use, holder-bound, task-scoped passes from a trusted Authority (e.g. Identvia). DNS discovery, config, authority resolution, redemption to a browser session or bearer token, continuous revocation checks.