ykachala / meter
Token accounting, multi-provider cost calculation, and budget guardrails for PHP AI apps. Know what every LLM call costs and stop runaway spend before it happens.
dev-main
2026-06-01 23:38 UTC
Requires
- php: >=8.3
- psr/clock: ^1.0
- psr/event-dispatcher: ^1.0
- psr/simple-cache: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^11.0
Suggests
- open-telemetry/api: Emit per-call cost spans for distributed tracing
- promphp/prometheus_client_php: Export usage & cost as Prometheus metrics
This package is auto-updated.
Last update: 2026-06-02 09:06:52 UTC