Download the PHP package spectra-php/laravel-spectra without Composer

On this page you can find all versions of the php package spectra-php/laravel-spectra. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-spectra

Tests PHPStan Code Style

Latest Stable Version Total Downloads PHP Version Laravel Version Documentation

Spectra is an AI observability package for Laravel, built to 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.

Requests
Every AI call with its usage, cost and latency

Request details
Token breakdown, cache hits, cost split and payload

Traces
The AI calls of one request, job or command

Trace timeline
Every call and span on one timeline

Conversations
Multi-turn chats with their turns and cost

Conversation transcript
Each turn with its messages and running cost

Costs
Spend over time, by provider, model and user

Trackables
Usage and spend per user, team or any model

Trackable details
One user's spend, models and latest requests

Dark mode
Follows your system theme, or toggle it

## Official Documentation Official documentation can be found on [spectraphp.com](https://spectraphp.com). ## Upgrading to 3.0 Spectra 3.0 adds traces, spans and conversations, and fixes several billing and budget bugs. Most apps only need to run `php artisan spectra:install` once. Check the guide if you use budgets, remove built-in providers in your published config, or touch `RequestContext` in your code. See the [upgrade guide](UPGRADE.md) and the [changelog](CHANGELOG.md). ## Code of Conduct While this project is not affiliated with Laravel, we follow the Laravel [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). We expect all contributors to follow these guidelines. ## Author This library is created by [Ahmad Mayahi](https://mayahi.net) with contributions from the [Open Source Community](https://github.com/spectra-php/laravel-spectra/graphs/contributors). ## License The MIT License (MIT). Please see [License File](LICENSE) for more information.

All versions of laravel-spectra with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^12.0||^13.0
illuminate/database Version ^12.0||^13.0
illuminate/support Version ^12.0||^13.0
symfony/polyfill-php84 Version ^1.31
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package spectra-php/laravel-spectra contains the following files

Loading the files please wait ...