cu / linebot
Installs: 1 738
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- guzzlehttp/guzzle: 6.2.0
- monolog/monolog: 1.18.2
This package is not auto-updated.
Last update: 2018-04-11 20:24:33 UTC
README
a simple line bot api client. (for trial api / unofficial)
Install
$ composer require cu/linebot:dev-master
Usage
$bot = CU\LineBot("<Channel ID>", "<Channel Secret>", "<Channel MID>", "<Endpoint URL>");
$bot->isValid(); // true only if signature was valid.
$bot->sendText("<to>", "<text>"); // send text message.
$bot->postEvents($events);