New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

acquia/pingdom-api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acquia/pingdom-api

A PHP library for interacting with the Pingdom REST API.

Source
Packagist
Version
1.1
Version published
Total downloads
6.9K
Maintainers
1
Created
Source

Pingdom API

Build Status

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.

FAQs

Package last updated on 05 Mar 2014

Related posts