brianseitel/cachet

A simple PHP wrapper for CacheHQ

Installs: 572

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/brianseitel/cachet

dev-master 2016-06-20 23:09 UTC

This package is not auto-updated.

Last update: 2025-10-01 23:50:22 UTC


README

Cachet PHP Client

Hi there! Welcome to the Cachet PHP Client. We have built a powerful set of tools to help you manage the Cachet via API in a streamlined fashion. Hopefully, this will help you contribute data faster and more effectively than before!

Getting Started

  • This repo requires PHP 5.4 or greater. We recommend PHP 7.

  • Install composer, if you haven't already. (Composer Homepage)

  • Install dependencies: composer require "brianseitel/cachet-client"

Quickstart

<?php

$client = new \Cachet\Cachet(1, 'YOUR_TOKEN_HERE', 'http://localhost');

$results = $client->base()->ping();

echo "Ping: " . $results->response['data'] . PHP_EOL;