https://github.com/acquia/pingdom-api
A PHP library for interacting with the Pingdom REST API.
https://github.com/acquia/pingdom-api
Last synced: 11 days ago
JSON representation
A PHP library for interacting with the Pingdom REST API.
- Host: GitHub
- URL: https://github.com/acquia/pingdom-api
- Owner: acquia
- License: mit
- Created: 2014-01-27T22:30:11.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-12-14T14:45:04.000Z (over 2 years ago)
- Last Synced: 2024-04-24T14:38:02.192Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 5
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Pingdom API
===========[INACTIVE] pingdom-api, Acquia is no longer maintaining or working on this project.
[](https://travis-ci.org/acquia/pingdom-api)
[](https://opensource.org/licenses/MIT)This package is a PHP interface to the Pingdom REST API.
Installation
------------Run the following commands to install the required dependencies:
```bash
cd
composer install --no-dev
```Usage
-----```php
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:
```bash
cd
composer update
phpunit
```Using `composer update` without the `--no-dev` flag will download the phpunit
dependency.