Getting downtime reports for a site with our PHP SDK

Make sure you've read the getting started guide first. Once that's done, you should have our package & authentication ready to go.

Getting downtime data

Here's how to get the downtime for a given site.


//alternatively you could do this

Both methods above will return an array of OhDear\PhpSdk\Resources\Downtime instances. A Downtime instance.

// The date time when we started detecting downtime

// The date time when we detected the site was back up

Was this page helpful to you? Feel free to reach out via or on Twitter via @OhDearApp if you have any other questions. We'd love to help!