3 Laravel packages tagged “token-usage”
Most downloaded: spectra-php/laravel-spectra, with 6,730 downloads and 44 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.
spectra-php/laravel-spectra
Solid choice
Observability for AI and LLM calls in Laravel. Automatically tracks requests to OpenAI, Anthropic, Gemini, Mistral and 9 more providers, calculates token and media costs, enforces per-user budgets, and ships a real-time dashboard with OpenTelemetry export.
44
6,730
astrophp/trail
Use with care
Self-hosted observability for Laravel AI SDK (laravel/ai 1.x) agents. Track execution traces, tool calls, token usage, estimated costs, and failures.
11
6,212
jkudish/laravel-ai-pricing
Solid choice
Shared, provenance-aware AI pricing and cost attribution for Laravel applications.
2
5,637