Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mozzy Generic PHP Connector

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages