See what happened right before the exception
Set your Laravel app's Sentry DSN to Buggregator, and every exception arrives with its Sentry breadcrumbs: the timeline of user actions and system events that led up to the error. You see them next to the request, tags and stack trace, on your own laptop, with no Sentry account.
Steps
1. Start Buggregator
On Linux and macOS, one command installs the binary. Then run it.
curl -fsSL https://raw.githubusercontent.com/buggregator/server/master/scripts/install.sh | sh
buggregator2. Point the DSN at Buggregator
Install the Sentry Laravel SDK as its docs say (docs.sentry.io/platforms/php/guides/laravel), then change one line in .env.
SENTRY_LARAVEL_DSN=http://sentry@127.0.0.1:8000/1Symfony and plain PHP use SENTRY_DSN with the same value. Laravel reads SENTRY_DSN only when SENTRY_LARAVEL_DSN is not set. In Docker Compose, replace 127.0.0.1 with the Buggregator service name, for example buggregator.
3. Keep each app apart
Put a project key in the DSN path instead of the number. In Laravel, change the same SENTRY_LARAVEL_DSN line; the docs show it as SENTRY_DSN:
SENTRY_DSN=http://sentry@127.0.0.1:8000/shopThe errors then go to the project shop, not default. Pick shop in the project selector in the sidebar to see them. Sentry PHP SDK 2.5 accepts only a number here, so keep /1 on that version.
4. Open the error
Trigger the exception and open it at http://127.0.0.1:8000. Breadcrumbs is the timeline of user actions and system events leading up to it. Request shows the method, URL and headers. Exceptions has the stack trace frame by frame; click a frame to open it in your IDE.
Why it works
Buggregator accepts the same protocol as the Sentry SDK, so the SDK sends it the full event, breadcrumbs included. You see it at once, without waiting for a remote Sentry. It is tested with the Sentry PHP SDK, versions 2.5, 3.22 and 4.x.
Related tips
- Sentry
Read Sentry Logs from PHP on your own machine
Point the Sentry PHP SDK at Buggregator with a numeric DSN and write lines with \Sentry\logger(). They show in the Logs tab locally, filtered by level.
- Sentry
See a Laravel request's Sentry trace as a waterfall
Turn on Sentry tracing in Laravel and send it to Buggregator. Every span of a request shows on a timeline, and errors link to their trace.
- MCP
Claude Code reads your app's errors over MCP
Add Buggregator as an MCP server in Claude Code. It lists your Sentry errors, opens stack traces and reads dumps and profiles. No copy-paste.
Checked on with Buggregator v2.8.0