PHPackages                             vanchaiy/line-sdk-php - 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. [API Development](/categories/api)
4. /
5. vanchaiy/line-sdk-php

ActiveLibrary[API Development](/categories/api)

vanchaiy/line-sdk-php
=====================

LineBot &amp; LineNotify SDK for Php pure &amp; support laravel

1.0.3(2y ago)016MITPHPPHP &gt;=5.4

Since Jul 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vanchaiy/line-sdk-php)[ Packagist](https://packagist.org/packages/vanchaiy/line-sdk-php)[ Docs](https://github.com/vanchaiy/laravel-line-sdk)[ RSS](/packages/vanchaiy-line-sdk-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

 [ ![](https://camo.githubusercontent.com/bba3f66a666eaa2046a391abbdc5351052e0548296a1dd1cf268fd77f68a795d/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f7468756d622f342f34312f4c494e455f6c6f676f2e7376672f32323070782d4c494e455f6c6f676f2e7376672e706e67) ](https://pay.line.me/)

LineSDK *for* PHP
=================

[](#linesdk-for-php)

LineBot &amp; LineNotify SDK for Pure PHP &amp; Support Laravel

INSTALLATION
------------

[](#installation)

Run Composer in your project:

```
composer require vanchaiy/line-sdk-php

```

Then you could use SDK class after Composer is loaded on your PHP project:

```
require __DIR__ . '/vendor/autoload.php';

$lineNotify = new LineSDK\Bot();
$lineNotify = new LineSDK\Notify();
```

OR

```
use LineSDK\Bot();
use LineSDK\Notify();
```

Laravel Configuration
---------------------

[](#laravel-configuration)

### .env

[](#env)

```
LINE_BOT_CHANNEL_ID=
LINE_BOT_CHANNEL_SECRET=
LINE_BOT_CHANNEL_TOKEN=

LINE_NOTIFY_TOKEN=

```

### config/app.php

[](#configappphp)

```
    'providers' => [
        LineSDK\Laravel\LineServiceProvider::class,
    ],
```

```
    'aliases' => [
        'LineBot' => LineSDK\Laravel\Facades\LineBot::class,
        'LineNotify' => LineSDK\Laravel\Facades\LineNotify::class,
    ],
```

Run the following Artisan command in your terminal:

```
php artisan vendor:publish --provider="LineSDK\Laravel\LineServiceProvider"

```

### Test

[](#test)

```
use LineBot;

LineBot::push('')->text('LineBot Test');
```

```
use LineNotify;

LineNotify::sent()->text('LineNotify Test');
```

Documents
---------

[](#documents)

- [Messaging API / Bot](docs/bot.md)
- [Notifications](docs/notify.md)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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 ~171 days

Total

4

Last Release

872d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58e29963c8f6c6e5956111190b2356fd19757072172d0deaea4a98bf4e100163?d=identicon)[vanchaiy](/maintainers/vanchaiy)

---

Top Contributors

[![vanchaiy](https://avatars.githubusercontent.com/u/65208588?v=4)](https://github.com/vanchaiy "vanchaiy (9 commits)")

---

Tags

laravelsdklineline notifyline bot

### Embed Badge

![Health badge](/badges/vanchaiy-line-sdk-php/health.svg)

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

###  Alternatives

[revolution/laravel-line-sdk

LINE SDK for Laravel

2235.8k](/packages/revolution-laravel-line-sdk)[octw/aramex

A Library to integrate with Aramex APIs

2925.2k](/packages/octw-aramex)[wxm/pdd-sdk

拼多多 SDK 封装, 调用简单、语义化增强。支持 Laravel/Lumen。

154.7k](/packages/wxm-pdd-sdk)

PHPackages © 2026

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