liliom/passport
Composer 安装命令:
composer require liliom/passport
包简介
Fork of Laravel Passport provides OAuth2 server support to Laravel, with added support for custom database connection.
关键字:
README 文档
README
Introduction
Laravel Passport is an OAuth2 server and API authentication package that is simple and enjoyable to use.
Installation
composer require liliom/passport 3.0.x-dev
Custom Database Connection
By default, Passport will use the default connection name, but now you can use custom database connection for Passport by adding your connection name in config/auth.php (guards.api.connection)
.... 'guards' => [ ... 'api' => [ 'driver' => 'passport', 'provider' => 'users', 'connection' => env('PASSPORT_CONNECTION'), ], ], ...
Official Documentation
Documentation for Passport can be found on the Laravel website.
License
Laravel Passport is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-11