Download the PHP package bogiesoft/laravel-line-sdk without Composer
On this page you can find all versions of the php package bogiesoft/laravel-line-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
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 Notify)
- Including Socialite drivers(LINE Login, LINE Notify)
Requirements
- PHP >= 8.0
- Laravel >= 9.0
Versioning
- Basic : semver
- Drop old PHP or Laravel version :
+0.1
. composer should handle it well. - Support only latest major version (
master
branch), but you can PR to old branches.
Installation
Configuration
.env
Set up in LINE Developers console. https://developers.line.biz/
Create two channels Messaging API
and LINE Login
.
- Messaging API : Get
Channel access token (long-lived)
andChannel secret
. SetWebhook URL
- LINE Login : Get
Channel ID
andChannel secret
. SetCallback URL
Publishing(Optional)
Short Facade(Optional)
Recent Laravel uses a full namespace.
If you want to use the short Facade, you can add it manually in config/app.php
.
Quick Start
Prepare
- Create
Messaging API
channel in LINE Developers console. - Get
Channel access token (long-lived)
,Channel secret
and QR code. - A web server that can receive webhooks from LINE. Not possible on a normal local server.
Create new Laravel project
Edit .env
Add shouldDiscoverEvents()
to app/Providers/EventServiceProvider
Publishing default Listeners
Deploy to web server
- Set
Webhook URL
in 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
LICENSE
MIT
All versions of laravel-line-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
ext-json Version *
laravel/socialite Version ^5.0
illuminate/support Version *
linecorp/line-bot-sdk Version *
ext-json Version *
laravel/socialite Version ^5.0
illuminate/support Version *
linecorp/line-bot-sdk Version *
The package bogiesoft/laravel-line-sdk contains the following files
Loading the files please wait ....