sanjayacloud / ai-model-usage-tracker
Accurately track AI model usage, tokens, and cost in Laravel with automatic instrumentation, reporting, and a Blade dashboard.
Package info
github.com/sanjayacloud/ai-model-usage-tracker
pkg:composer/sanjayacloud/ai-model-usage-tracker
Fund package maintenance!
v1.1.2
2026-08-19 18:23 UTC
Requires
- php: ^8.3
- illuminate/support: ^12.0||^13.0
Requires (Dev)
- inertiajs/inertia-laravel: ^2.0
- larastan/larastan: ^3.9
- laravel/ai: ^0.4
- laravel/pao: ^1.0
- laravel/pint: ^1.29
- orchestra/testbench: ^10.0||^11.0
- pestphp/pest: ^4.6||^5.0
- pestphp/pest-plugin-laravel: ^4.1||^5.0
- pestphp/pest-plugin-type-coverage: ^4.0||^5.0
- phpstan/extension-installer: ^1.4
Suggests
- inertiajs/inertia-laravel: Required to render the bundled Inertia/Vue usage dashboard.
- laravel/ai: Automatic usage instrumentation for the first-party Laravel AI SDK.
- prism-php/prism: Capture usage from Prism responses via capturePrism().