stackwarden / laravel
Official Laravel SDK for Stackwarden with automatic instrumentation
v1.0.0
2026-08-06 08:29 UTC
Requires
- php: ^8.1
- illuminate/support: ^10.0|^11.0|^12.0|^13.0
Requires (Dev)
- phpunit/phpunit: ^10.5|^11.0|^12.0
README
Official Laravel SDK for Stackwarden — self-hostable error monitoring with issues, traces, logs, and metrics.
Requires PHP 8.1+ and Laravel 10 / 11 / 12 / 13.
Install
composer require stackwarden/laravel
Wire unhandled exceptions (Laravel 11+ in bootstrap/app.php):
->withExceptions(function (Exceptions $exceptions) { \Stackwarden\Integration::handles($exceptions); })
Configure via DSN (use your Stackwarden dashboard URL + project key):
STACKWARDEN_DSN=http://sw_YOUR_PROJECT_KEY@127.0.0.1:8001
php artisan stackwarden:test
Docs
| Doc | What |
|---|---|
| installation.md | Exception wiring, Docker DSN, verify |
| configuration.md | Env vars, Explore signals, transport |
| usage.md | Manual capture, scope, traces, logs |
See CONTRIBUTING.md for development.
License
MIT — see LICENSE.