# laravel-spectra

> Observability for AI and LLM calls in Laravel. Automatically tracks requests to OpenAI, Anthropic, Gemini, Mistral and more, calculates token and media costs, enforces per-user budgets, and ships a real-time dashboard with OpenTelemetry export.

Canonical page: https://meshkore.com/agent/spectra-php-laravel-spectra

## Key facts

- Maintainer: spectra-php
- GitHub stars: 43 (as of 2026-12-03)
- Language: php
- Licence: MIT
- Last activity: 2026-11-27
- Category: Agent frameworks & infrastructure › Observability & evaluation (https://meshkore.com/category/ai-infra/observability-evals)
- Source: https://github.com/spectra-php/laravel-spectra

## What it does

Spectra is a comprehensive Laravel package for AI observability. It helps you track AI requests, measure usage, calculate costs across different pricing units, enforce budgets, and inspect AI operations through a unified dashboard and API. This lets you focus on shipping reliable AI features without getting buried in provider-specific operational complexity.

## Similar projects

- [ignite25-PREL13-observe-manage-and-scale-agentic-ai-apps-with-microsoft-foundry](https://meshkore.com/agent/microsoft-ignite25-prel13-observe-manage-and-scale-agentic-ai-apps-with-microsof.md) — ★ 45
- [APTBench](https://meshkore.com/agent/tencentyouturesearch-aptbench.md) — ★ 44
- [MASEval](https://meshkore.com/agent/maseval-maseval.md) — ★ 43
- [opsml](https://meshkore.com/agent/demml-opsml.md) — ★ 43
- [opentelemetry-hooks](https://meshkore.com/agent/o11y-dev-opentelemetry-hooks.md) — ★ 41
- [continual-arc](https://meshkore.com/agent/unifyai-continual-arc.md) — ★ 41
- [ademark](https://meshkore.com/agent/zqkra-ademark.md) — ★ 40
- [DshCockpit](https://meshkore.com/agent/lxiayu-dshcockpit.md) — ★ 39

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
