8000 GitHub - niyata/php-line-notify: PHP Line Notify
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

niyata/php-line-notify

 
 

Repository files navigation

php-line-notify

Build Status Code Coverage Scrutinizer Code Quality License: MIT

Line Notify with PHP

[Line Notify Document] (https://notify-bot.line.me/doc/en/)

Requirement

Composer

Install the latest version with composer

composer require kittinan/php-line-notify

https://packagist.org/packages/kittinan/php-line-notify

##Generate Line Notify Token

[https://notify-bot.line.me/my/] (https://notify-bot.line.me/my/)

Usage

Example : notify text message

$token = 'YOUR LINE NOTIFY TOKEN';
$ln = new KS\Line\LineNotify($token);

$text = 'Hello Line Notify';
$ln->send($text);

Example : notify text with image

$text = 'Hello Line Notify';
$image_path = '/YOUR/IMAGE/PATH'; //Line notify allow only jpeg and png file
$ln->send($text, $image_path);

Screenshot

Screenshot

License

The MIT License (MIT)

About

PHP Line Notify

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%
0