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
));
MIT