- Use composer https://packagist.org/packages/mp-php/fuel-packages-chatwork
- git submodule
- Download zip
In app/config/config.php
'always_load' => array('packages' => array(
'chatwork',
...
or in your code
Package::load('chatwork');
Copy packages/chatwork/config/chatwork.php to under app/config directory and edit
$response = Chatwork::get('/me');
Debug::dump($response);
$response = Chatwork::post('/rooms/{room_id}/messages', array('body' => 'Hello!'));
Debug::dump($response);
Copyright 2013, Mamoru Otsuka. Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php