| Package Data | |
|---|---|
| Maintainer Username: | leo108 |
| Maintainer Contact: | leo108@qq.com (leo108) |
| Package Create Date: | 2016-08-13 |
| Package Last Update: | 2023-08-13 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-13 03:03:04 |
| Package Statistics | |
|---|---|
| Total Downloads: | 4,669 |
| Monthly Downloads: | 8 |
| Daily Downloads: | 1 |
| Total Stars: | 88 |
| Total Watchers: | 5 |
| Total Forks: | 35 |
| Total Open Issues: | 3 |
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/5.6 . Please check 2.x branch if you are using Laravel 5.1 - 5.4 .
composer require leo108/laravel_cas_server
Leo108\CAS\CASServerServiceProvider::class to the providers field in config/app.php
php artisan vendor:publish --provider="Leo108\CAS\CASServerServiceProvider"
config/cas.php, fields in config file are all self-describedphp artisan migrate
App\User implement Leo108\CAS\Contracts\Models\UserModel
Leo108\CAS\Contracts\TicketLocker
Leo108\CAS\Contracts\Interactions\UserLogin
http://your-domain/cas/login to see the login page (assume that you didn't change the router.prefix value in config/cas.php)If you are looking for an out of box solution of CAS Server powered by PHP, you can check php_cas_server