acquia / pingdom-api
A PHP library for interacting with the Pingdom REST API.
Installs: 6 813
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 12
Open Issues: 3
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-11-19 00:58:15 UTC
README
[INACTIVE] pingdom-api, Acquia is no longer maintaining or working on this project.
This package is a PHP interface to the Pingdom REST API.
Installation
Run the following commands to install the required dependencies:
cd <project root> composer install --no-dev
Usage
require 'vendor/autoload.php'; use Acquia\Pingdom\PingdomApi; $pingdom = new PingdomApi('username', 'password', 'api_key'); print_r($pingdom->getChecks());
Running the tests
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.