oxhq / cachelet-exporter
First-party Cachelet exporter for canonical telemetry records.
v0.3.1
2026-05-14 18:26 UTC
Requires
- php: ^8.2
- illuminate/events: ^12.0|^13.0
- illuminate/http: ^12.0|^13.0
- illuminate/log: ^12.0|^13.0
- illuminate/support: ^12.0|^13.0
- oxhq/cachelet-core: ^0.3
Requires (Dev)
- orchestra/testbench: ^10.0|^11.0
- phpunit/phpunit: ^11.0
README
Optional telemetry export for Cachelet records.
cachelet-exporter listens for canonical Cachelet telemetry and sends it to a configured transport. Use it to feed logs, dashboards, audit trails, or custom developer tools. It is not required for local cache correctness.
Install
composer require oxhq/cachelet-exporter
Best Fit
Add this package when Cachelet is already useful inside the app and the team now wants the same cache evidence outside the Laravel process.
It provides:
CacheletTelemetryRecordedlistener wiringcachelet.telemetry.v1export recordscachelet.export.v1envelopeshttp,log, andnulltransports- custom transport classes through the container
Example
return [ 'enabled' => true, 'transport' => 'http', 'client' => [ 'endpoint' => env('CACHELET_EXPORTER_ENDPOINT'), 'token' => env('CACHELET_EXPORTER_TOKEN'), ], ];
Boundary
The exporter is optional. Cachelet's runtime key generation, invalidation, inspection, and telemetry contracts work locally without an external service.