berryhillock / be-triage
Laravel package for forwarding exception events to BeTriage.
v0.1.0
2026-05-17 17:18 UTC
Requires
- php: ^8.2
- illuminate/contracts: ^12.0|^13.0
- illuminate/support: ^12.0|^13.0
Requires (Dev)
- orchestra/testbench: ^10
- phpunit/phpunit: ^12
README
Laravel package to forward exception events to BeTriage.
Install
composer require berryhillock/be-triage php artisan vendor:publish --tag=be-triage-config
Environment Variables
BE_TRIAGE_ENABLED=trueBE_TRIAGE_PROJECT=acme-shopBE_TRIAGE_API_KEY=...BE_TRIAGE_ENDPOINT=https://betriage.berryhillock.com/api/v1/eventsBE_TRIAGE_SOURCE=laravel:acme-shop:productionBE_TRIAGE_QUEUE=trueBE_TRIAGE_QUEUE_CONNECTION=BE_TRIAGE_QUEUE_NAME=BE_TRIAGE_QUEUE_TRIES=3BE_TRIAGE_QUEUE_BACKOFF_SECONDS=30BE_TRIAGE_IDEMPOTENCY_TTL_SECONDS=86400BE_TRIAGE_IDEMPOTENCY_CACHE_STORE=BE_TRIAGE_CAPTURE_RAW_PAYLOAD=trueBE_TRIAGE_RAW_PAYLOAD_TTL_HOURS=72BE_TRIAGE_INCLUDE_QUERY_STRING=falseBE_TRIAGE_INCLUDE_EXCEPTION_MESSAGE=true
Config
Published config file: config/be-triage.php.
Behavior
- Hooks into Laravel exception reporting automatically via the package service provider.
- Dispatches events to queue by default (
BE_TRIAGE_QUEUE=true). - Falls back to synchronous send when queue transport is disabled.