Feature
Symfony error and log monitoring
The exceptions your Symfony applications throw, grouped by cause in the same panel as your Laravel projects, with the full stack trace, the code around your own frames and the request behind it.
composer require quiet-guard/monitor-symfony-bundle
The problem
A 500 in a Symfony application ends up in a log file on the server, among the 404s from bots. Nobody reads it until a customer writes in, and the file does not say how many people hit the error, nor since when.
What you get
- The full stack trace, and five lines of code on each side of your application's frames
- The request URL, with its tokens and credentials masked before it leaves the server
- 404s, 403s and every HTTP error below 500 dropped before sending, outside your exception quota
- Your Symfony applications in the same issue list as your Laravel projects
- An alert when an issue is created or reopened, by mail on every plan, by Slack, Discord, Teams or webhook on paid plans
- Uptime and the certificate probed from our server, scheduled tasks through a single curl call
How it works
-
A bundle, registered by hand
composer require, then one line in config/bundles.php: no Flex recipe exists for this bundle. The project key goes in config/packages/monitor.yaml, read from MONITOR_KEY. Symfony 6.4, 7.x or 8.x, PHP 8.2 or later.
-
The errors that reach the kernel
A listener on kernel.exception reports the unhandled exceptions of an HTTP request, with its method and URL, except HTTP errors below 500, which are expected responses. Console commands and Messenger workers do not go through that event: the monitor.reporter service reports them by hand.
-
Monolog, if you want it
On paid plans, turn on logs.enabled and point a Monolog handler at monitor.log_handler. Records from warning up leave in batches, and records carrying an exception are skipped. Monolog 3 is required.
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.
PHP error monitoring
A package with no framework dependency that reports the exceptions and errors of your PHP application, custom-built or running on your own framework, into the same issues as your Laravel projects.
Uptime and status page
Without a probe, your client is the one who tells you the site is down. Ours runs every five minutes, and tries an error page or a refused connection again before it calls an outage.