mozzy / php-connector
Privacy-first Mozzy Connector Protocol v1 reporting for generic PHP applications.
v1.0.0
2026-08-11 13:50 UTC
Requires
- php: ^8.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.