joshwhatk/sentinel-guard
Composer 安装命令:
composer require joshwhatk/sentinel-guard
包简介
Laravel Guard for Cartalyst's Sentinel
README 文档
README
#Cent (An Auth Gaurd Implementation for stateless Sentinel) v1.0.1
Installation
-
Extend
UserModelin yourUsermodeluse Joshwhatk\Cent\UserModel; class User extends UserModel { ... -
Register the CentServiceProvider in your
config/app.phpJoshwhatk\Cent\CentServiceProvider::class, -
Change the api driver to
centin yourconfig/auth.php'guards' => [ 'api' => [ 'driver' => 'cent', 'provider' => 'users', ], ],
统计信息
- 总下载量: 54
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-03-02