PHPackages                             rc1021/laravel-admin-line-binder - 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. rc1021/laravel-admin-line-binder

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

rc1021/laravel-admin-line-binder
================================

在 `z-song/laravel-admin` 加入 Line 通知綁定功能

v1.1.0(4y ago)191MITPHP

Since Dec 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rc1021/laravel-admin-line-binder)[ Packagist](https://packagist.org/packages/rc1021/laravel-admin-line-binder)[ RSS](/packages/rc1021-laravel-admin-line-binder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

 English | [中文版](readme-zh_TW.md) | [日本語](readme-ja.md)

laravel-admin Line Notify Binder
--------------------------------

[](#laravel-admin-line-notify-binder)

This is a package to integrate [Line Notify](https://notify-bot.line.me/zh_TW/) with [Laravel-admin](https://github.com/z-song/laravel-admin).

[![alt Snapshot](https://raw.githubusercontent.com/rc1021/laravel-admin-line-binder/master/snapshot.png)](https://raw.githubusercontent.com/rc1021/laravel-admin-line-binder/master/snapshot.png)

Installation
------------

[](#installation)

Require this package with composer.

```
composer require rc1021/laravel-admin-line-binder
```

Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

### Laravel without auto-discovery:

[](#laravel-without-auto-discovery)

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

```
Rc1021\LaravelAdmin\ServiceProvider::class,
```

### Add credentials in the `line` key of `config.services`:

[](#add-credentials-in-the-line-key-of-configservices)

In order to bind service via Line Notify, you need to add [credentials](https://notify-bot.line.me/my/services/new) in the `line` key of `config/services.php`.

```
'line' => [
    'client_id' => env('LINE_NOTIFY_CLIENT_ID', ''),
    'client_secret' => env('LINE_NOTIFY_SECRET', ''),
],
```

### Copy the package config to your local config with the publish command:

[](#copy-the-package-config-to-your-local-config-with-the-publish-command)

```
php artisan vendor:publish --provider="Rc1021\LaravelAdmin\ServiceProvider"
```

### And migrate database:

[](#and-migrate-database)

```
php artisan migrate
```

### And new permission to everyone:

[](#and-new-permission-to-everyone)

[![alt New Permission](https://raw.githubusercontent.com/rc1021/laravel-admin-line-binder/master/add_premission.png)](https://raw.githubusercontent.com/rc1021/laravel-admin-line-binder/master/add_premission.png)

Usage
-----

[](#usage)

You need to override the settingForm() method in `App\Admin\Controllers\AuthController` and add the following code

```
protected function settingForm()
{
    $form = parent::settingForm();
    $form->linenotify();
    return $form;
}
```

Helper
------

[](#helper)

Get the token of the currently logged in user

```
currentLineNotifyToken();
```

Get Line Notify bind url

```
lineNotifyBinderUrl();
```

Get Line Notify revoke url

```
lineNotifyRevokeUrl();
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Total

2

Last Release

1612d ago

### Community

Maintainers

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

---

Top Contributors

[![rc1021](https://avatars.githubusercontent.com/u/1082597?v=4)](https://github.com/rc1021 "rc1021 (6 commits)")

---

Tags

laravellaravel-adminlinenotify

### Embed Badge

![Health badge](/badges/rc1021-laravel-admin-line-binder/health.svg)

```
[![Health](https://phpackages.com/badges/rc1021-laravel-admin-line-binder/health.svg)](https://phpackages.com/packages/rc1021-laravel-admin-line-binder)
```

###  Alternatives

[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[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/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[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)[illuminate/mail

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)

PHPackages © 2026

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