Download the PHP package gometap/larai-tracker without Composer

On this page you can find all versions of the php package gometap/larai-tracker. 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 larai-tracker

Larai Tracker Logo

Larai Tracker ๐Ÿš€

Latest Version on Packagist Total Downloads Tests

Larai Tracker is a powerful, standalone dashboard for tracking AI token usage and API costs in Laravel applications. It "invisibly" intercepts AI responses via Laravel's native HTTP Client events, meaning it works with OpenAI, Gemini, Azure, and OpenRouter out of the box with zero code changes to your application logic.

Supports Laravel 10, 11, and 12.

Screenshots

Dashboard

Dark Preview Light Preview

Logs

Logs Preview

Features

Installation

Install the package via composer:

Publish and run the migrations:

(Optional) Publish the configuration:

Usage

๐Ÿ•ต๏ธ Automatic Tracking

Once installed, the package starts working immediately. Every time your application uses the Laravel Http facade to call an AI provider (OpenAI, Gemini, etc.), Larai Tracker intercepts the response, parses the token usage, and logs it to the database.

๐Ÿ“Š Accessing the Dashboard

Navigate to your application's URL at: https://your-domain.com/larai-tracker

The dashboard features a premium dark-mode interface with:

Configuration

Authentication (Singleton Auth)

Larai Tracker uses a simple yet secure singleton authentication system. You can set the password in three ways (ordered by priority):

  1. Database: Change it directly from the Security section in the dashboard settings.
  2. Environment: Set LARAI_TRACKER_PASSWORD in your .env file.
  3. Config: Set it in config/larai-tracker.php.

If no password is set and you are in a non-local environment, you will be prompted to set up a password upon your first visit.

๐Ÿงช Testing

The package includes a comprehensive test suite powered by Pest.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The Apache License 2.0. Please see License File for more information.


All versions of larai-tracker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.0|^11.0|^12.0
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 gometap/larai-tracker contains the following files

Loading the files please wait ...