Skip to content

Upgrading

Versioning

quiet-guard/laravel-monitor follows semantic versioning. Patch and minor releases are backward compatible; breaking changes are reserved for major versions and called out here.

The SDK depends on the framework-agnostic core quiet-guard/monitor-php, which is upgraded in lock-step. Composer resolves both together.

Compatibility

Supported
PHP8.2, 8.3, 8.4
Laravel11, 12, 13

The ingestion API the SDK talks to (/api/v1/...) is platform-neutral and versioned independently of the package, so a recent SDK keeps working against a running server of the same major API version.

How to upgrade

composer update quiet-guard/laravel-monitor

After upgrading, re-check your config against the current defaults. If you published config/monitor.php, compare it with the package's shipped file and merge any new keys:

# Inspect the latest published defaults
php artisan vendor:publish --tag=monitor-config

Because configuration is environment-driven, most upgrades require no code changes, new options arrive with safe defaults and are opt-in.

To version 0.10.0. Nothing to change. Aggregated performance measurement arrives, off by default: MONITOR_PERFORMANCE=true turns it on (see Configuration). It needs a server that receives it and a plan that includes it. The SDK requires the core as ^0.10.0, which brings the SQL normalisation.

To version 0.9.0. Nothing to change. The same exception, thrown from the same place, is now sent once a minute; the occurrences held back go with the next report, so the dashboard counts every one and the quota counts only what is sent. MONITOR_DEDUPE_SECONDS=0 sends every occurrence again. The core, the Symfony bundle and the WordPress plugin take the tag with no change of their own.

To version 0.8.1. Nothing to change. The Laravel SDK, the core and the Symfony bundle take the tag with no change of their own; it fixes the WordPress plugin, which reports fatal errors reliably again and gives an uncaught exception WordPress's error page back.

To version 0.8.0. Nothing to change. monitor:backup sends the encrypted archive straight to the storage, in parts, through addresses the server signs, and monitor:restore downloads it the same way: the size of a single request to the server is no longer a limit. Against a server that does not offer this, both commands fall back to the single-request upload and download of 0.7.x. The core masks the signature of a presigned storage address. The Symfony bundle and the WordPress plugin take the tag with no change of their own; the three adapters require the core ^0.8.0.

To version 0.7.1. Nothing to change. Objects passed in a log context (a Collection, a Fluent, a DTO) are now masked like arrays before they leave, in the Laravel SDK and in the Symfony bundle, whose fix lives in the core; nothing is sent that 0.7.0 did not already send. The WordPress plugin takes the tag with no change of its own; the three adapters require the core ^0.7.1.

To version 0.7.0. Nothing to change. php artisan monitor:test sends a test exception and prints the server's answer, and @quietGuardBrowser with MONITOR_BROWSER_KEY turns on browser errors. The Symfony bundle and the WordPress plugin take the tag with no change of their own; the three adapters require the core ^0.7.0.

To version 0.6.0. Masking by shape recognises credentials (Stripe keys, an AWS access key id, GitHub, GitLab and Slack tokens, JWTs, private key blocks, an APP_KEY, a project key, the password of an address), request headers go out on an allow list (request_headers), and a route parameter named in scrub is masked. If you published config/monitor.php: its redact key reads ['email', 'iban', 'nir', 'card', 'phone'], the default of the time, and that exact list is read as the default, so it follows the package with no change on your side; the new template writes it null. A redact list you had narrowed is still read as written, and does not include the credentials until you add them. The request_headers key is absent from your copy and takes its default; publish it to change it. See Exception reporting.

Things to verify after an upgrade

  • Environments: confirm MONITOR_ENVIRONMENTS still matches where you want reporting active (default production,staging). See Configuration.
  • Queue: if you forward via a queue (MONITOR_QUEUE), make sure a worker is running so SendExceptionToMonitor / SendLogsToMonitor jobs are processed.
  • Scrub list: if you published the config, re-check that your custom scrub entries are still present and complete.
  • Backups: verify the relevant dump binary (mysqldump / pg_dump) is available on the host if you rely on encrypted backups.

Removing the SDK

composer remove quiet-guard/laravel-monitor

Auto-discovery means there is nothing else to unregister. If you published the config, delete config/monitor.php and drop the MONITOR_* variables from your .env.

You are reading the Laravel SDK v1.0 documentation.