Download the PHP package ogeagleeye/monitor-php without Composer
On this page you can find all versions of the php package ogeagleeye/monitor-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ogeagleeye/monitor-php
More information about ogeagleeye/monitor-php
Files in ogeagleeye/monitor-php
Package monitor-php
Short Description OGEagleEye monitoring SDK for PHP 7.4+
License MIT
Informations about the package monitor-php
ogeagleeye/monitor-php
PHP SDK for OGEagleEye. Ask your system admin for:
- Ingest key (
oge_…) - Events endpoint (e.g.
https://your-host/api/v1/events)
Requirements
- PHP 7.4+
ext-curl,ext-json
Install
Prefer the 1.x line (1.0.1+) so Composer resolves log capture:
Setup
- Get the ingest key and endpoint from your system admin.
- Initialize early in your app bootstrap (before other code runs):
Or via environment variables:
That is enough. Exceptions and fatals are reported automatically after init().
Application logs (Monolog)
To also ship application logs as event_type=log, push the Monolog handler after init() (requires monolog/monolog):
Manual messages (any level; bypasses the automatic log_level filter):
Heartbeat
Heartbeats are opt-in. Error reporting does not send them. Until this app sends heartbeats, the OGEagleEye panel shows Heartbeat: none.
Schedule that on this host (for example every minute via cron) so the platform can detect a silent outage.
Scanning
Scans run on this app’s server (not on the OGEagleEye platform). The SDK checks local files, then POSTs a scan_result to your endpoint. The platform stores Scan reports and can alert on critical findings.
This is an integrity + PHP heuristics helper — not an antivirus.
Run it from cron / a scheduled task on this host (for example daily). More detail: docs/scanning.md.
All versions of monitor-php with dependencies
ext-curl Version *
ext-json Version *