Laravel implement of CAS server
Fork from : Simple Cas Server
- PHP 5.5.9+
- composer
- npm
- gulp
git clone https://github.com/lskk/cas-server
cd cas-server
composer install
npm install
gulp
- Edit
.env
file in the project's root directory, change the options's value that start withDB_
./artisan migrate
./artisan db:seed
./artisan serve
- visit http://localhost:8000
All configurations are set in .env
file
APP_LOCATE
: application Language, en
| cn
CAS_ALLOW_RESET_PWD
: allow user reset password by email, true
| false
. if set to true
, you should configure mail sending options
CAS_TICKET_LEN
: ticket length
CAS_TICKET_EXPIRE
: ticket ttl, time in seconds
CAS_LOCK_TIMEOUT
: lock time while validating a ticket, time in microseconds