laravel_cas_server maintained by fengxin8144
Description
A laravel package provides CAS server implementation , copy to leo108/laravel_cas_server
Last update
2020/09/30 10:30
(dev-master)
License
Downloads
1
CAS Server for Laravel
copy to leo108/laravel_cas_server
Requirements
- PHP >=7.0
Installation && Usage
composer require fengxin8144/laravel_cas_server- add
fengxin8144\CAS\CASServerServiceProvider::classto theprovidersfield inconfig/app.php php artisan vendor:publish --provider="fengxin8144\CAS\CASServerServiceProvider"- modify
config/cas.php, fields in config file are all self-described php artisan migrate- make your
App\Userimplementfengxin8144\CAS\Contracts\Models\UserModel - create a class implements
fengxin8144\CAS\Contracts\TicketLocker - create a class implements
fengxin8144\CAS\Contracts\Interactions\UserLogin - 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