Download the PHP package rc1021/laravel-admin-line-binder without Composer
On this page you can find all versions of the php package rc1021/laravel-admin-line-binder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rc1021/laravel-admin-line-binder
More information about rc1021/laravel-admin-line-binder
Files in rc1021/laravel-admin-line-binder
Package laravel-admin-line-binder
Short Description 在 `z-song/laravel-admin` 加入 Line 通知綁定功能
License MIT
Informations about the package laravel-admin-line-binder
laravel-admin Line Notify Binder
This is a package to integrate Line Notify with Laravel-admin.
Installation
Require this package with composer.
Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Laravel without auto-discovery:
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
Add credentials in the line
key of config.services
:
In order to bind service via Line Notify, you need to add credentials in the line
key of config/services.php
.
Copy the package config to your local config with the publish command:
And migrate database:
And new permission to everyone:
Usage
You need to override the settingForm() method in App\Admin\Controllers\AuthController
and add the following code
Helper
Get the token of the currently logged in user
Get Line Notify bind url
Get Line Notify revoke url
All versions of laravel-admin-line-binder with dependencies
illuminate/support Version ^8.75
doctrine/dbal Version 2.*|3.*