This package is a PHP interface to the Pingdom REST API.
Run the following commands to install the required dependencies:
cd <project root>
composer install --no-dev
require 'vendor/autoload.php';
use Acquia\Pingdom\PingdomApi;
$pingdom = new PingdomApi('username', 'password', 'api_key');
print_r($pingdom->getChecks());
The following commands can be used to run the test suite locally:
cd <project root>
composer update
phpunit
Using composer update
without the --no-dev
flag will download the phpunit
dependency.