cinderwatch / cinder-wordpress
WordPress adapter for Cinder error, log, trace, health and schedule monitoring.
Package info
github.com/cinderwatch-dev/cinder-wordpress
Type:wordpress-plugin
pkg:composer/cinderwatch/cinder-wordpress
Requires
- php: ^8.1
- cinderwatch/cinder-php: ^0.1
- composer/installers: ^2.0
- nyholm/psr7: ^1.8
- php-http/discovery: ^1.19
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.0|^2.0
Requires (Dev)
- brain/monkey: ^2.6
- brianhenryie/strauss: ^0.25
- laravel/pint: ^1.24
- pestphp/pest: ^3.0|^4.0
- php-http/mock-client: ^1.6
- phpstan/phpstan: ^2.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-11-23 16:59:31 UTC
README
Develop in the cinder-clients monorepo (
packages/cinder-wordpress). This GitHub repository is a read-only split mirror; do not commit here.
WordPress adapter for Cinder.
Install via Composer (Bedrock) or upload the built cinder.zip from GitHub releases.
Sends errors, logs and traces to Cinder's versioned API (/api/v1/...), exposes /cinder/v1/health for pull checks, and syncs WP-Cron events with schedule monitoring.
Configuration
Define constants in wp-config.php (recommended) or use Settings → Cinder:
define('CINDER_KEY', 'your-api-key'); define('CINDER_URL', 'https://cinderwatch.dev'); define('CINDER_ERRORS_ENABLED', true); define('CINDER_LOGS_ENABLED', true); define('CINDER_TRACING_ENABLED', true); define('CINDER_CRON_GRACE_MINUTES', 15); define('CINDER_HEALTH_ENDPOINT_ENABLED', true); define('CINDER_HEALTH_CHECK_SECRET', 'your-health-secret');
Health probes
The endpoint reports PHP runtime, disk usage, database, core/plugin/theme updates, debug output, WP-Cron and Site Health probes. A snapshot younger than five minutes is reused between polls. Adjust the probe list with the cinder_health_probes filter:
use Cinderwatch\Health\AliasedProbe; use Cinderwatch\Health\Probes\DiskUsageProbe; add_filter('cinder_health_probes', function (array $probes): array { // Probes are keyed by id; alias a second disk probe so it doesn't replace the default one. $probes[] = new AliasedProbe( new DiskUsageProbe(path: '/var/www/uploads', warnAbovePercent: 80, failAbovePercent: 95), id: 'uploads-disk', title: 'Uploads disk', ); return $probes; });
WP-CLI
wp cinder test
wp cinder health [--strict]
wp cinder schedule_sync
wp cinder install_loader