Skip to content

Server SDK surface

PHP SDK surface

ErrorNotifier accepts server-side HTTPS ingestion from PHP today. Runtime-specific package wrappers and raw HTTPS clients use the same stable event, release, deploy, artifact, and CI API contract.

Runtime statusAPI Surface Available
PHP can send events directly over HTTPS with a project key. Backend-only release, deploy, artifact, and CI routes require a server secret.
Credential modelEnvironment Key
Use ERRORNOTIFIER_PROJECT_KEY for error events or ERRORNOTIFIER_SERVER_KEY for protected backend automation.
Rate behaviorHTTP 429
Project keys enforce per-minute limits; retry with backoff when a rate limit response is returned.
Payload safetyScrubbed
Ingestion applies payload caps and common token, password, authorization, card-like value, and email-address scrubbing.

Minimal event example

<?php
$secret = getenv('ERRORNOTIFIER_SERVER_KEY');
$event = array(
    'platform' => 'php',
    'severity' => 'error',
    'message' => 'Checkout failed',
    'release' => getenv('APP_RELEASE') ?: '',
    'environment' => getenv('APP_ENV') ?: 'production',
    'tags' => array('service' => 'checkout'),
);

$ch = curl_init('https://errornotifier.com/wp-json/errornotifier/v1/store');
curl_setopt_array($ch, array(
    CURLOPT_POST => true,
    CURLOPT_HTTPHEADER => array(
        'Authorization: Bearer ' . $secret,
        'Content-Type: application/json',
    ),
    CURLOPT_POSTFIELDS => json_encode($event),
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT => 5,
));
$body = curl_exec($ch);
$code = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
curl_close($ch);
EndpointCredentialUse
/wp-json/errornotifier/v1/storeServer secret or public project keyJSON error event ingestion.
/wp-json/errornotifier/v1/envelopeServer secret or public project keySentry-like envelope ingestion for compatible emitters.
/wp-json/errornotifier/v1/releasesServer secretRelease version, commit, repository, dist, and environment metadata.
/wp-json/errornotifier/v1/deploysServer secretDeploy actor, release, environment, timestamp, and deploy metadata.
/wp-json/errornotifier/v1/artifacts/source-mapsServer secretSource-map file or protected metadata upload.
/wp-json/errornotifier/v1/test-runsServer secretCI and automated test-run history with failure details.

Public demo

Review the real product screens with read-only mock data

Open the demo workspace to inspect monitors, incidents, domains, alert channels, status pages, projects, issues, automated test runs, releases, artifacts, audit history, and umbrella reports without creating an account.