Skip to content

doubleleft/hook-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages