PHP Libraries › ohdearapp › ohdear-php-sdk The PHP library ohdear-php-sdk provides seamless integration with Oh Dear! services, enabling easy monitoring and management of your website's performance, uptime, and security.
Package Description The ohdear-php-sdk library offers robust functionality for developers looking to streamline website monitoring tasks. With features for performance optimization, uptime alerts, and security checks, this SDK simplifies the process of ensuring a top-notch web presence. Developers can efficiently integrate Oh Dear! services into their PHP projects, allowing for proactive monitoring and rapid issue resolution.
Classes: OhDear\PhpSdk\OhDear OhDear\PhpSdk\Dto\BrokenLink OhDear\PhpSdk\Dto\CertificateHealth OhDear\PhpSdk\Dto\MaintenancePeriod OhDear\PhpSdk\Dto\ApplicationHealthCheckHistoryItem OhDear\PhpSdk\Dto\DetectedCertificate OhDear\PhpSdk\Dto\ApplicationHealthCheck OhDear\PhpSdk\Dto\StatusPage OhDear\PhpSdk\Dto\Sitemap OhDear\PhpSdk\Dto\DnsHistoryItem OhDear\PhpSdk\Dto\DowntimePeriod OhDear\PhpSdk\Dto\CronCheckDefinition OhDear\PhpSdk\Dto\StatusPageUpdate OhDear\PhpSdk\Dto\NotificationDestination OhDear\PhpSdk\Dto\CheckSummary OhDear\PhpSdk\Dto\Check OhDear\PhpSdk\Dto\LighthouseReport OhDear\PhpSdk\Dto\User OhDear\PhpSdk\Dto\Uptime OhDear\PhpSdk\Dto\UptimeMetric\PingUptimeMetric OhDear\PhpSdk\Dto\UptimeMetric\TcpUptimeMetric OhDear\PhpSdk\Dto\UptimeMetric\HttpUptimeMetric OhDear\PhpSdk\Dto\Monitor OhDear\PhpSdk\Dto\MixedContent OhDear\PhpSdk\Exceptions\ValidationException OhDear\PhpSdk\Exceptions\OhDearException OhDear\PhpSdk\Helpers\Helpers OhDear\PhpSdk\Requests\UptimeMetrics\GetPingUptimeMetricsRequest OhDear\PhpSdk\Requests\UptimeMetrics\GetHttpUptimeMetricsRequest OhDear\PhpSdk\Requests\UptimeMetrics\GetTcpUptimeMetricsRequest OhDear\PhpSdk\Requests\Sitemap\GetSitemapRequest OhDear\PhpSdk\Requests\MeRequest OhDear\PhpSdk\Requests\Uptime\GetUptimeRequest OhDear\PhpSdk\Requests\Downtime\DeleteDowntimePeriodRequest OhDear\PhpSdk\Requests\Downtime\GetDowntimeRequest OhDear\PhpSdk\Requests\DetectedCertificates\GetDetectedCertificateRequest OhDear\PhpSdk\Requests\DetectedCertificates\GetDetectedCertificatesRequest OhDear\PhpSdk\Requests\CertificateHealth\GetCertificateHealthRequest OhDear\PhpSdk\Requests\BrokenLinks\GetBrokenLinksRequest OhDear\PhpSdk\Requests\LighthouseReports\GetLatestLighthouseReportRequest OhDear\PhpSdk\Requests\LighthouseReports\GetLighthouseReportsRequest OhDear\PhpSdk\Requests\LighthouseReports\GetLighthouseReportRequest OhDear\PhpSdk\Requests\DnsHistoryItems\GetDnsHistoryItemRequest OhDear\PhpSdk\Requests\DnsHistoryItems\GetDnsHistoryItemsRequest OhDear\PhpSdk\Requests\Monitors\UpdateMonitorRequest OhDear\PhpSdk\Requests\Monitors\GetNotificationDestinationsRequest OhDear\PhpSdk\Requests\Monitors\CreateNotificationDestinationsRequest OhDear\PhpSdk\Requests\Monitors\GetCheckSummaryRequest OhDear\PhpSdk\Requests\Monitors\GetMonitorsRequest OhDear\PhpSdk\Requests\Monitors\GetMonitorRequest OhDear\PhpSdk\Requests\Monitors\CreateMonitorRequest OhDear\PhpSdk\Requests\Monitors\DeleteMonitorRequest OhDear\PhpSdk\Requests\CronCheckDefinitions\SnoozeCronCheckDefinitionRequest OhDear\PhpSdk\Requests\CronCheckDefinitions\GetCronCheckDefinitionsRequest OhDear\PhpSdk\Requests\CronCheckDefinitions\DeleteCronCheckDefinitionRequest OhDear\PhpSdk\Requests\CronCheckDefinitions\UnsnoozeCronCheckDefinitionRequest OhDear\PhpSdk\Requests\CronCheckDefinitions\UpdateCronCheckDefinitionRequest OhDear\PhpSdk\Requests\CronCheckDefinitions\CreateCronCheckDefinitionRequest OhDear\PhpSdk\Requests\StatusPages\DeleteStatusPageUpdateRequest OhDear\PhpSdk\Requests\StatusPages\GetStatusPageRequest OhDear\PhpSdk\Requests\StatusPages\CreateStatusPageUpdateRequest OhDear\PhpSdk\Requests\StatusPages\GetStatusPagesRequest OhDear\PhpSdk\Requests\StatusPages\DeleteStatusPageRequest OhDear\PhpSdk\Requests\ApplicationHealthChecks\GetApplicationHealthChecksRequest OhDear\PhpSdk\Requests\ApplicationHealthChecks\GetApplicationHealthCheckHistoryRequest OhDear\PhpSdk\Requests\MaintenancePeriods\UpdateMaintenancePeriodRequest OhDear\PhpSdk\Requests\MaintenancePeriods\StartMaintenancePeriodRequest OhDear\PhpSdk\Requests\MaintenancePeriods\StopMaintenancePeriodsRequest OhDear\PhpSdk\Requests\MaintenancePeriods\GetMaintenancePeriodsRequest OhDear\PhpSdk\Requests\MaintenancePeriods\CreateMaintenancePeriodRequest OhDear\PhpSdk\Requests\MaintenancePeriods\DeleteMaintenancePeriodRequest OhDear\PhpSdk\Requests\Checks\EnableCheckRequest OhDear\PhpSdk\Requests\Checks\SnoozeCheckRequest OhDear\PhpSdk\Requests\Checks\RequestCheckRunRequest OhDear\PhpSdk\Requests\Checks\DisableCheckRequest OhDear\PhpSdk\Requests\Checks\UnsnoozeCheckRequest OhDear\PhpSdk\Requests\MixedContent\GetMixedContentRequest OhDear\PhpSdk\Concerns\SupportsUptimeEndpoints OhDear\PhpSdk\Concerns\SupportsLighthouseReportsEndpoints OhDear\PhpSdk\Concerns\SupportsCheckEndpoints OhDear\PhpSdk\Concerns\SupportsMaintenancePeriodEndpoints OhDear\PhpSdk\Concerns\SupportsDnsHistoryItemsEndpoints OhDear\PhpSdk\Concerns\SupportsDowntimeEndpoints OhDear\PhpSdk\Concerns\SupportsCronCheckDefinitionsEndpoints OhDear\PhpSdk\Concerns\SupportsMonitorEndpoints OhDear\PhpSdk\Concerns\SupportsMixedContentEndpoints OhDear\PhpSdk\Concerns\SupportsStatusPageEndpoints OhDear\PhpSdk\Concerns\SupportsUptimeMetricsEndpoints OhDear\PhpSdk\Concerns\SupportsMeEndpoint OhDear\PhpSdk\Concerns\SupportsCertificateHealthEndpoints OhDear\PhpSdk\Concerns\SupportsDetectedCertificatesEndpoints OhDear\PhpSdk\Concerns\SupportsSitemapEndpoints OhDear\PhpSdk\Concerns\SupportsBrokenLinksEndpoints OhDear\PhpSdk\Concerns\SupportsApplicationHealthChecksEndpoints Close Previous Versions Code Integration Example Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/ohdearapp/ohdear-php-sdk/4.4.0/loader.php';
require_once 'libs/vendor/name1/{lib_version}/loader.php';
require_once 'libs/vendor/name2/{lib_version}/loader.php';
use OhDear\OhDearPhpSdk\ClassName1;
$obj = new ClassName1();
echo '✅ Test OK: ' . get_class($obj);
?>
Report a broken download or code We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion Ask questions, share tips, or report issues below.