kankanamge/iversauth
Composer 安装命令:
composer require kankanamge/iversauth
包简介
Authenticating library for ivers
README 文档
README
This package enables to authenticating users with ivers authenticating site
Installation
Login to Ivers Authenticating site and create a app. Put your site url as the site link.
Install this package
composer require kankanamge/iversauth
Add IversAuth service provider.
# config/app.php
return [
'providers'=>[
\Kankanamge\IversAuth\AuthServiceProvider::class
]
]
Replace default authenticating middleware with IversAuth
# app\Http\Kernel.php
protected $routeMiddleware = [
'auth' => \Kankanamge\IversAuth\AuthenticateMiddleware::class,
];
Publish vendor files
php artisan vendor:publish
Change config
Change configuration variables in config\ivers_auth.php by following guide lines in comments.
Note:- Do not put any route to /login URL.
Thats it all! Enjoy!
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-18