doubleleft / hook-php

PHP client for hook

Home Page:http://hook-platform.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hook-php Build status

PHP client for hook.

Different from JavaScript client, there is no callback. Every request is synchronous.

How to use (API Reference)

<?php
$hook = Hook\Client::configure(array(
  'app_id' => 1,
  'key' => '006f04b4f723c9920e259a746f9318be',
  'endpoint' => 'http://hook.dev/index.php/'
));

$hook->collection('scores')->create(array(
  'name' => 'Endel',
  'score' => 7
));

License

MIT

About

PHP client for hook

http://hook-platform.org/

License:MIT License


Languages

Language:PHP 100.0%