Introduction

quiet-guard/monitor-php is the framework-agnostic PHP core that every Quiet Guard client is built on. It has no framework dependencies, only PSR interfaces (psr/log) and the ext-sodium / ext-curl extensions, so it can be embedded anywhere PHP runs.

The core is a small set of single-purpose, PSR-based building blocks. Everything is plain PHP under the QuietGuard\Monitor\ namespace, with no service container, no facades and no configuration files:

ClassRole
ConfigImmutable value object: server URL, project key, timeout, release, environments, trace limit, value-masking patterns.
ReporterSends exception, log and dependency payloads to the ingestion API. Reporting never throws.
Payload\ExceptionPayloadBuilderTurns a Throwable into the platform-neutral ingestion payload.
Support\ScrubberRedacts sensitive values by key before anything is sent.
Support\ValueRedactorMasks values by their shape (emails, IBANs, cards, French social security and phone numbers) wherever they sit. On by default.
Http\HttpClient (interface) + Http\CurlHttpClientPluggable transport; a dependency-free cURL implementation ships in the box.
ErrorHandlerRegisters global PHP error/exception/shutdown handlers for plain-PHP hosts.
Backup\BackupCipherStreaming hybrid encryption primitives for the zero-knowledge backup vault.

The reuse story

This package is the shared foundation, not a standalone product. The Laravel SDK (quiet-guard/laravel-monitor), the Symfony bundle (quiet-guard/monitor-symfony-bundle) and the WordPress plugin (quiet-guard/monitor-wordpress) all depend on it and adapt it to their host: they wire the framework's exception and logging hooks to a Reporter, read configuration into a Config, and reuse the same Scrubber and BackupCipher. Because they all speak the same wire protocol, a mixed PHP fleet lands in a single Quiet Guard dashboard.

If you are integrating Quiet Guard into a custom PHP application or your own framework, this is the package you target directly. The payloads it produces are documented by the ingestion API (/docs/tool/1.0/ingestion-api).

Where to go next

You are reading the PHP Core v1.0 documentation.