juhedata/laravel_cas_server
Composer 安装命令:
composer require juhedata/laravel_cas_server
包简介
A laravel package provides CAS server implementation
README 文档
README
laravel_cas_server is a Laravel package that implements the server part of CAS protocol v1/v2/v3.
This package works for Laravel >=5.5 .
Requirements
- PHP >=7.0
Installation && Usage
composer require juhedata/laravel_cas_serverphp artisan vendor:publish --provider="JuheData\CAS\CASServerServiceProvider"- modify
config/cas.php, fields in config file are all self-described php artisan migrate- make your
App\UserimplementJuheData\CAS\Contracts\Models\UserModel - create a class implements
JuheData\CAS\Contracts\TicketLockerTicketLocker示例 - create a class implements
JuheData\CAS\Contracts\Interactions\UserLoginUserLogin示例 - visit
http://your-domain/cas/loginto see the login page (assume that you didn't change therouter.prefixvalue inconfig/cas.php)
Example
If you are looking for an out of box solution of CAS Server powered by PHP, you can check php_cas_server
统计信息
- 总下载量: 237
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-13