Download the PHP package fr3on/laravel-ledger without Composer
On this page you can find all versions of the php package fr3on/laravel-ledger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fr3on/laravel-ledger
More information about fr3on/laravel-ledger
Files in fr3on/laravel-ledger
Download fr3on/laravel-ledger
More information about fr3on/laravel-ledger
Files in fr3on/laravel-ledger
Vendor fr3on
Package laravel-ledger
Short Description Token cost accounting and budget enforcement for AI-heavy Laravel applications. Supports OpenAI, Anthropic, Gemini, and more.
License MIT
Package laravel-ledger
Short Description Token cost accounting and budget enforcement for AI-heavy Laravel applications. Supports OpenAI, Anthropic, Gemini, and more.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-ledger
Laravel Ledger
Token cost accounting for AI-heavy Laravel applications. Tracks spend per user, per feature, and per model. Enforces budgets before calls are made.
Installation
Usage
Wrap your AI calls with the Ledger facade:
Expected Result
The ledger tracks token usage and calculates costs based on your pricing map. You can then generate reports:
Output Example:
Configuration
Publish the config file:
Define your model pricing and token drivers in config/ledger.php.
All versions of laravel-ledger with dependencies
PHP Build Version
Package Version
The package fr3on/laravel-ledger contains the following files
Loading the files please wait ...