Libraries tagged by token-counting

mozex/anthropic-laravel

76 Favers
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.

Go to Download


phoenix1331/laravel-ai-headroom

2 Favers
624 Downloads

Token counting and context limits for the Laravel AI SDK.

Go to Download


token27/nexus-ai-tokenizer

0 Favers
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.

Go to Download


identvia/agentpass-php

0 Favers
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.

Go to Download