This page will get you started with our PHP SDK in no time. Let's dive in!
Get the PHP SDK
We offer a PHP SDK package that is ready for use. It's open source and we happily accept contributions to it.
First, grab the latest stable version via
composer require ohdearapp/ohdear-php-sdk
Next, create an instance of the SDK. This takes your API key as a single, mandatory, parameter. If you don't have an API key yet, read up on the API authentication first first.
$apiKey = "iK4YfZe2i1RAe22tKP4xejGKDZP .... "; $ohDear = new OhDear\PhpSdk\Ohdear($apiKey);