talaria / laravel
Laravel adapter for Talaria — exceptions, request/DB/queue/HTTP/Artisan tracing, Octane, Horizon, and Livewire
Requires
- php: ^8.1
- illuminate/support: ^10.0 || ^11.0 || ^12.0
- talaria/talaria: ^2.0.0
Requires (Dev)
- orchestra/testbench: ^8.0 || ^9.0 || ^10.0
- phpunit/phpunit: ^10.5 || ^11.0
Suggests
- laravel/horizon: Queue worker spans with Horizon-specific attributes
- laravel/octane: Flush and reset Talaria between requests on long-lived workers
- livewire/livewire: Component-name child spans under the HTTP transaction
Provides
None
Conflicts
None
Replaces
None
README
Laravel 10 / 11 / 12 adapter for Talaria.
Docs: Laravel guide · Project configuration
Install
PHP 8.1+ and Laravel 10, 11, or 12.
composer require talaria/laravel
The published config defaults the DSN to https://ingest.newtalaria.com. Set the API key:
TALARIA_API_KEY=tal_live_… TALARIA_RELEASE=1.4.2
The API key decides the environment. Do not call Talaria::init() yourself. Tracing and analytics follow Project settings.
HTML responses on the web middleware group load @newtalaria/browser from jsDelivr (TALARIA_BROWSER_SDK_VERSION, default 0.5.3). Replay, heatmaps, and web vitals start only when the project allows them. Set TALARIA_BROWSER=false to skip the script. TALARIA_BROWSER_DSN and TALARIA_BROWSER_API_KEY override the PHP DSN and key for the browser only.
License
MIT