Installation
Install the bundle in the Symfony application you want to monitor (not on the Quiet Guard server).
Requirements
- PHP 8.2 or higher
- Symfony 6.4 (LTS), 7.x or 8.x
ext-curl(the default transport) andext-sodium(pulled in by the core)
Require the package
The package is published on Packagist, so a plain composer require installs it:
This pulls in the framework-agnostic core quiet-guard/monitor-php automatically.
Register the bundle
Symfony Flex registers a bundle from a recipe published in its own index. No recipe exists for this bundle, so add it to config/bundles.php by hand:
The bundle class is QuietGuard\Monitor\Symfony\MonitorBundle, and its container-extension alias is monitor, so all configuration lives under a monitor key.
Create the configuration file
The bundle reads its options from a monitor config tree. Create config/packages/monitor.yaml:
Then set the matching variables in .env / .env.local:
url and key are the only values you must provide to start reporting. See Configuration for every option and its default.
Verify the wiring
Once registered, the bundle defines its services in the container. You can confirm they are present:
The monitor.exception_subscriber listener should appear on kernel.exception. Continue with Configuration.
You are reading the Symfony Bundle v1.0 documentation.