PHPackages                             kittinan/php-line-notify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. kittinan/php-line-notify

AbandonedArchivedLibrary[Mail &amp; Notifications](/categories/mail)

kittinan/php-line-notify
========================

PHP Line Notify

0.5(8y ago)4640.9k↓22.7%38[1 issues](https://github.com/kittinan/php-line-notify/issues)1MITPHPPHP &gt;=5.5

Since Jan 15Pushed 1y ago12 watchersCompare

[ Source](https://github.com/kittinan/php-line-notify)[ Packagist](https://packagist.org/packages/kittinan/php-line-notify)[ RSS](/packages/kittinan-php-line-notify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (6)Used By (1)

End of service for LINE Notify
==============================

[](#end-of-service-for-line-notify)

---

php-line-notify
===============

[](#php-line-notify)

[![Build Status](https://camo.githubusercontent.com/797618185558840389164e566979434172811d34b1ad58c0d8c5717cb73ae1da/68747470733a2f2f7472617669732d63692e6f72672f6b697474696e616e2f7068702d6c696e652d6e6f746966792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kittinan/php-line-notify)[![Code Coverage](https://camo.githubusercontent.com/78ea7b5aa2946ae5c06497e01fa9d128a09ab5d4aff6ec7230bb35abf5d6276e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b697474696e616e2f7068702d6c696e652d6e6f746966792f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kittinan/php-line-notify/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f1d9d1d7e34cb83f5b868745970e7e6b7df948c93de43fc60dd0beea90627589/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b697474696e616e2f7068702d6c696e652d6e6f746966792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kittinan/php-line-notify/?branch=master)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

Simple PHP Line Notify Class

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

Requirement
-----------

[](#requirement)

- PHP 5.5+
- [guzzlehttp](https://github.com/guzzle/guzzle)

Composer
--------

[](#composer)

Install the latest version with composer

```
composer require kittinan/php-line-notify

```

Generate Line Notify Token
--------------------------

[](#generate-line-notify-token)

Usage
-----

[](#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);

//HTTP or HTTPS image path
$image_path = 'https://lorempixel.com/800/600/'; //Line notify allow only jpeg and png file
$ln->send($text, $image_path);
```

*Example : notify text with sticker*

See sticker list [https://devdocs.line.me/files/sticker\_list.pdf](https://devdocs.line.me/files/sticker_list.pdf)

```
$text = 'Hello Sticker';
$sticker = ['stickerPackageId' => '1', 'stickerId' => '401'];
$ln->send($text, null, $sticker);
```

Screenshot
----------

[](#screenshot)

[![Screenshot](/screenshot/screen2.png?raw=true "Screenshot")](/screenshot/screen2.png?raw=true)

License
=======

[](#license)

The MIT License (MIT)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~84 days

Total

5

Last Release

3075d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7c68d4c6287f5b2294a1dfd2154d61b8a6f3ffed3326b16893b5eb547f655dc?d=identicon)[kittinan](/maintainers/kittinan)

---

Top Contributors

[![kittinan](https://avatars.githubusercontent.com/u/144775?v=4)](https://github.com/kittinan "kittinan (20 commits)")

---

Tags

lineline notify

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kittinan-php-line-notify/health.svg)

```
[![Health](https://phpackages.com/badges/kittinan-php-line-notify/health.svg)](https://phpackages.com/packages/kittinan-php-line-notify)
```

###  Alternatives

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[pusher/pusher-push-notifications

562.5M9](/packages/pusher-pusher-push-notifications)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
