Skip to content
프로젝트

소개

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.

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+2
in 15 days
+16
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Spectra

Tests PHPStan Code Style License

Latest Stable Version Total Downloads PHP Version Laravel Version Documentation

AI observability like Langfuse and LangSmith, right inside your Laravel app.
Track every AI call, see what it costs, enforce budgets and test your prompts.

A tour of the dashboard, one screen at a time: the overview, requests, request details, traces, the trace timeline, conversations, a conversation transcript, errors, prompts, datasets, evals, the playground, review, costs, trackables, one trackable's details, a shared dashboard, and dark mode

Hire me — I'm available for consulting and development work

Official Documentation

Official documentation can be found on spectraphp.com.

Upgrading to 4.0

Spectra 4.0 adds scores, alerts, redaction, payload sampling, prompt versions, tool spans, error grouping, review queues, evaluations, a playground and a maintenance screen. Most apps only need to run php artisan spectra:install once. Check the guide if spectra:install runs in a deploy script, if others use your dashboard in production, if your code reads RequestContext::$id, or if you wrote a pricing class. See the upgrade guide and the changelog.

Code of Conduct

We expect all contributors to follow our Code of Conduct.

Security

If you find a security problem, please report it privately, as explained in our security policy. Please don't open a public issue.

Author

This library is created by Ahmad Mayahi with contributions from the Open Source Community.

License

The MIT License (MIT). Please see License File for more information.

관련 프로젝트 살펴보기

불러오는 중…