renlight10 / line-notify
send notification to line notify
1.0.1
2017-01-10 11:21 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2026-03-09 22:30:58 UTC
README
PHP Wrapper to send line notify notification
Installation: composer require renlight10/line-notify
usage :
$line = new \renlight10\LineNotify\LineNotify("token"); $line->SETmessage("awesome!"); echo $line->sendIt();
you can SET more property for example
$line->SETmessage("awesome!")->SETstickerPackageId(1)->SETstickerId(5);
see documentation.
NOTE : currently direct image upload or imageFile not supported ~
example response:
{"header":{"Limit":1000,"ImageLimit":50,"Remaining":999,"ImageRemaining":50,"Reset":1483555725},"body":{"status":200,"message":"ok"}}