Documentation Index
Fetch the complete documentation index at: https://kawax.biz/llms.txt
Use this file to discover all available pages before exploring further.
Overview
revolution/laravel-line-sdk makes the official LINE SDK easy to use in Laravel applications. It provides four features: Webhook handling, Bot Facade, Laravel Notifications integration, and LINE Login via Socialite.This package requires PHP 8.3 or higher and Laravel 12.0 or higher.
Installation
Configuration
LINE Developers console
Create channels in the LINE Developers console.You can no longer create a Messaging API channel directly from the LINE Developers Console. First create a LINE Official Account using the LINE Official Account Manager, then enable Messaging API from the account manager.
| Channel | What to get |
|---|---|
| Messaging API | Channel access token (long-lived), Channel secret |
| LINE Login | Channel ID, Channel secret |
.env
Publish config (optional)
Quick start
The fastest path to a working bot.Deploy to a web server
LINE requires a publicly accessible URL to deliver webhooks. Local servers are not supported.Set the Webhook URL in the LINE Developers console:
Documentation
Webhook / Bot
Webhook routing and Bot Facade for sending and receiving messages.
Notifications
Send LINE messages through the Laravel Notification System.
Socialite (LINE Login)
OAuth2 authentication with LINE Login via Socialite.
Links
- GitHub: invokable/laravel-line-sdk
- Demo: invokable/laravel-line-project
- DeepWiki: invokable/laravel-line-sdk