mp-php/fuel-packages-chatwork

Installs: 495

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 2

Open Issues: 0

Type:fuel-package

pkg:composer/mp-php/fuel-packages-chatwork

dev-master 2013-12-11 14:48 UTC

This package is auto-updated.

Last update: 2025-10-19 22:23:03 UTC


README

Install

Setup to fuel/packages/chatwork

Configuration

One

In app/config/config.php

'always_load' => array('packages' => array(
	'chatwork',
	...

or in your code

Package::load('chatwork');
Two

Copy packages/chatwork/config/chatwork.php to under app/config directory and edit

Example

Get yourself data

$response = Chatwork::get('/me');
Debug::dump($response);

Post massage to room

$response = Chatwork::post('/rooms/{room_id}/messages', array('body' => 'Hello!'));
Debug::dump($response);

License

Copyright 2013, Mamoru Otsuka. Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php