Download the PHP package devkeita/laraliff without Composer
On this page you can find all versions of the php package devkeita/laraliff. 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 laraliff
laraliff
概要
- LIFFアプリの認証をするためのライブラリ
- tymondesigns/jwt-authのラッパーライブラリ
laraliffでできること
- LIFFのIDトークン利用して、サーバーサイドで認証
- 一度認証できたら、それ移行はJWTで認証を行う
使い方
tymondesigns/jwt-authのconfigを作成
laraliffのconfigを作成
JWT secret keyを発行
.envにLIFF_CHANNEL_ID
を追加
認証に使用するテーブルのスキーマに以下を追加
liff_id
- LIFF ID
name
- LINEのプロフィール名
picture
- プロフィール画像のURL
※スキーマの名前はconfigから変更できます
認証に使用するモデルに以下のメソッドを追加
config/auth.php
を修正
認証用のrouteを追加
認証用のコントローラーを作成
All versions of laraliff with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
illuminate/support Version ^5.5|^6|^7|^8
tymon/jwt-auth Version ^1.0
guzzlehttp/guzzle Version ^5|^6|^7
illuminate/support Version ^5.5|^6|^7|^8
tymon/jwt-auth Version ^1.0
guzzlehttp/guzzle Version ^5|^6|^7
The package devkeita/laraliff contains the following files
Loading the files please wait ....