mkaverin/laravel-oauth2-client
最新稳定版本:1.0.0
Composer 安装命令:
composer require mkaverin/laravel-oauth2-client
包简介
README 文档
README
This package is based on the PHP League OAuth 2.0 Client library, and it provides a simple interface to OAuth2 authentication for your Laravel application using any of the compatible OAuth2 providers (for example see the list of official PHP League and third-party providers or instructions on how to implement your own).
Installation
Run the following command from your project directory to add the dependency:
composer require mkaverin/laravel-oauth2-client
Then, copy and run database migrations:
php artisan vendor:publish --provider="LaravelOAuth2Client\Providers\OAuth2ServiceProvider" --tag=migrations
php artisan migrate
Laravel without auto-discovery
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php:
'providers' => [ ... LaravelOAuth2Client\Providers\OAuth2ServiceProvider::class, ],
Testing
composer test
统计信息
- 总下载量: 160
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-12-03