Feature
JavaScript error tracking for Laravel
The JavaScript errors of your Blade, Livewire, Alpine or Inertia pages, in the same issues as your PHP exceptions, with the same alerts and the same quota. One directive, no npm package.
@quietGuardBrowser
The problem
A JavaScript error leaves no trace on the server. The button stops answering, the form does not submit, and you learn it from a client's screenshot, without knowing which browser or since when.
What you get
- Uncaught errors and promises rejected without a handler, grouped from one deployment to the next whatever the build hash
- The page, the browser, whether Livewire is present and the failing Alpine expression
- No cookie read or set, no visitor identifier, no IP address kept
- “Script error.” and errors from a browser extension discarded, neither stored nor counted
- At most ten reports per page load, and the same error only once
- A daily cap per team, a quarter of the monthly exception quota spread over thirty days, so a copied key cannot empty the quota your server-side exceptions need
- No source maps: frames show the compiled bundle with its line and column, and each report counts as one exception of your quota
How it works
-
A public key and your origins
In the project settings, turn capture on and list the origins that serve your pages. The browser key is public by nature: the origin list is what refuses reports sent from another site.
-
One directive in the head
Since v0.7.0 of the Laravel SDK, @quietGuardBrowser prints a small inline script with no dependency, carrying Vite's CSP nonce. Without a key, or where your exceptions would not be reported, it prints nothing.
-
Masked by the server
A browser masks nothing, so the server removes emails, card numbers, IBANs, phone numbers and secret credentials from the message, the stack and the page address, which also loses its parameters.
Related features
Exception tracking
Every exception your Laravel applications throw, grouped by cause rather than by occurrence, with the full stack trace and the commit that introduced it.
Alerts and notifications
An alert when an issue appears or comes back, when the site goes down, when a task stops pinging or a certificate nears expiry. By email, Slack, Discord, Teams or webhook, and in the dashboard.
Application logs
Your Laravel logs shipped as they happen, searchable by level and environment, and attached to the exception they surround.