This package was created for my project and made it easier for others.
$ composer require arga/laravel-lineTo publish the config settings:
$ php artisan vendor:publish --provider="Arga\LaravelLine\LaravelLineServiceProvider"1.Facade
$authorize = LaravelLine::authorize();2.Container
$line = app(LineManager::class);
$authorize = $line->authorize();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)This package is licensed under MIT. You are free to use it in personal and commercial projects.