Search by

mozzy / php-connector

jubbot

Privacy-first Mozzy Connector Protocol v1 reporting for generic PHP applications.

v1.0.0 2026-08-11 13:50 UTC

This package is auto-updated.

Last update: 2026-09-11 14:13:37 UTC


README

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.

Requirements

  • 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.