typerej / line-notify
line-notify
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/typerej/line-notify
Requires
- php: >=7.0
- ext-curl: *
- ext-json: *
This package is auto-updated.
Last update: 2025-10-13 19:41:21 UTC
README
composer require typerej/line-notify dev-master --prefer-dist
GENERATE URL
use TyperEJ\LineNotify\Notify; $notify = new Notify(CHANNEL_ID); $url = $notify->generateSubscribeUrl($options);
GET TOKEN
use TyperEJ\LineNotify\Notify; $notify = new Notify(CHANNEL_ID,CHANNEL_SECRET); $token = $notify->requestToken($_GET('code'));
PUSH MESSAGE
use TyperEJ\LineNotify\Notify; use TyperEJ\LineNotify\Message; $message = new Message('Notify Text'); Notify::sendMessage($token,$message);