8000 GitHub - naingminkhant/laravel-line: An easy to use social called LINE in Laravel. · GitHub
[go: up one dir, main page]

Skip to content

About

An easy to use social called LINE in Laravel.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LARAVEL LINE SDK

This package was created for my project and made it easier for others.

Installation

$ composer require arga/laravel-line

To publish the config settings:

$ php artisan vendor:publish --provider="Arga\LaravelLine\LaravelLineServiceProvider"

Usage SDK

1.Facade

$authorize = LaravelLine::authorize();

2.Container

$line = app(LineManager::class);
$authorize = $line->authorize();

Function

Get authorize url

LaravelLine::authorize();

Get token

$token = LaravelLine::token($request->get('code'));

Get profile

$profile = LaravelLine::profile($token);

Verify token

$verify = LaravelLine::verify_token($token);

Renew token with refresh token

$token = LaravelLine::refresh_token($refresh_token);

Logout

LaravelLine::logout($token)

License

This package is licensed under MIT. You are free to use it in personal and commercial projects.

About

An easy to use social called LINE in Laravel.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0