revolution/laravel-line-sdk is a Laravel package for line sdk for laravel.
It currently has 22 GitHub stars and 37.563 downloads on Packagist (latest version 4.2.0).
Install it with composer require revolution/laravel-line-sdk.
Discover more Laravel packages by revolution
or browse all Laravel packages to compare alternatives.
Last updated
+0.1. composer should handle it well.master branch), but you can PR to old branches.composer require revolution/laravel-line-sdk
composer remove revolution/laravel-line-sdk
Set up in LINE Developers console. https://developers.line.biz/
Create two channels Messaging API and LINE Login.
Channel access token (long-lived) and Channel secret. Set Webhook URLChannel ID and Channel secret. Set Callback URLLINE_BOT_CHANNEL_TOKEN=
LINE_BOT_CHANNEL_SECRET=
LINE_LOGIN_CLIENT_ID=
LINE_LOGIN_CLIENT_SECRET=
LINE_LOGIN_REDIRECT=
php artisan vendor:publish --tag=line-config
Messaging API channel in LINE Developers console.Channel access token (long-lived), Channel secret and QR code.# Docker
curl -s "https://laravel.build/line-bot" | bash
cd ./line-bot
composer require revolution/laravel-line-sdk
Edit .env
LINE_BOT_CHANNEL_TOKEN=
LINE_BOT_CHANNEL_SECRET=
Publishing Listeners
php artisan vendor:publish --tag=line-listeners
Webhook URL in LINE Developers console. https://example.com/line/webhookBot returns same message.
https://github.com/kawax/laravel-line-project
MIT