Server-only Mozzy Connector Protocol v1 reporting for PHP 8.2+. It reports heartbeats, caught exceptions, and fatal PHP shutdown errors without transmitting request bodies, cookies, sessions, environment variables, configuration, content, or user data.
use Mozzy\Php\Reporter;
$mozzy = Reporter::fromEnvironment();
$mozzy->registerFatalHandler();
$mozzy->heartbeat();Keep MOZZY_ENDPOINT and MOZZY_ASSISTANCE_TOKEN in the server environment. Reporting failures are swallowed and never replace the application's own error handling.
- PHP 8.2 or newer
- HTTPS Mozzy event endpoint
- cURL or PHP stream transport
The package deliberately excludes request bodies, headers, cookies, sessions, environment variables, configuration, content, personal data, stack traces, and source file paths.