Download the PHP package revolution/laravel-line-sdk without Composer
On this page you can find all versions of the php package revolution/laravel-line-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download revolution/laravel-line-sdk
More information about revolution/laravel-line-sdk
Files in revolution/laravel-line-sdk
Informations about the package laravel-line-sdk
LINE SDK for Laravel
Features
- Working with Laravel Event System. Including Webhook routing and controller.
- Extensible Bot Client.
- Working with Laravel Notification System(LINE Messaging API)
- Including Socialite drivers(LINE Login)
Requirements
- PHP >= 8.3
- Laravel >= 12.0
Installation
Uninstall
- Delete related files. See below.
Configuration
.env
Set up in LINE Developers console. https://developers.line.biz/
Note: You can no longer create a Messaging API channel directly from the LINE Developers Console. To create a Messaging API channel, first create a LINE Official Account using the [Create LINE Official Account] button. Then, enable Messaging API usage from the LINE Official Account Manager.
Create two channels Messaging API and LINE Login.
- Messaging API : Get
Channel access token (long-lived)andChannel secret. SetWebhook URL - LINE Login : Get
Channel IDandChannel secret. SetCallback URL
Publishing(Optional)
Quick Start
Prepare
- Create
Messaging APIchannel in LINE Developers console. - Get
Channel access token (long-lived),Channel secretand QR code. - A web server that can receive webhooks from LINE. Not possible on a normal local server.
Create new Laravel project
Edit .env
Publishing Listeners
Deploy to web server
- Set
Webhook URLin LINE Developers console.https://example.com/line/webhook - Verify Webhook URL.
Add bot as a friend.
- Using QR code.
Send test message
Bot returns same message.
Documents
- Messaging API / Bot
- Socialite
- Notifications
Demo
https://github.com/invokable/laravel-line-project
LICENSE
MIT
All versions of laravel-line-sdk with dependencies
ext-json Version *
laravel/socialite Version ^5.0
illuminate/support Version ^12.0||^13.0
linecorp/line-bot-sdk Version ^12.0