Download the PHP package mamor/php-hipchat without Composer
On this page you can find all versions of the php package mamor/php-hipchat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-hipchat
php-hipchat
A simple library for HipChat API
Install
$ composer require mamor/php-hipchat
Example for "Send room notification" API
https://www.hipchat.com/docs/apiv2/method/send_room_notification
<?php
require_once './vendor/autoload.php';
$hipChat = new Mamor\HipChat('YOUR_API_TOKEN');
$hipChat->post('/v2/room/{id_or_name}/notification', ['message' => 'Hello!']);
var_dump($hipChat->curl()->response);
Methods
- get($uri, $data = [])
- post($uri, $data = [])
- put($uri, $data = [])
- patch($uri, $data = [])
- delete($uri, $data = [])
- head($uri, $data = [])
- options($uri, $data = [])
- curl() ... return Object of https://github.com/php-curl-class/php-curl-class
License
Copyright 2015, Mamoru Otsuka. Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
All versions of php-hipchat with dependencies
PHP Build Version
Package Version
Requires
php-curl-class/php-curl-class Version
2.1.*
The package mamor/php-hipchat contains the following files
Loading the files please wait ....