hihuangwei / laravel_cas_server
A laravel package provides CAS server implementation
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/hihuangwei/laravel_cas_server
Requires
- php: >=7.0
 - ext-dom: *
 - doctrine/dbal: ^2.5
 - guzzlehttp/guzzle: ^6.2
 - illuminate/support: ^5.8|^6.0|^7.0|^8.0
 
Requires (Dev)
- mockery/mockery: ^1.0
 - orchestra/testbench: 3.5.*|3.6.*
 - phpunit/phpunit: ^6.0|^7.0
 
This package is auto-updated.
Last update: 2025-10-15 00:47:11 UTC
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.8/6.0/7.0/8.0
Requirements
- PHP >=7.4
 
Installation && Usage
composer require leo108/laravel_cas_serveraddLeo108\CAS\CASServerServiceProvider::classto theprovidersfield inconfig/app.phpphp artisan vendor:publish --provider="Leo108\CAS\CASServerServiceProvider"- modify 
config/cas.php, fields in config file are all self-described php artisan migrate- make your 
App\UserimplementLeo108\CAS\Contracts\Models\UserModel - create a class implements 
Leo108\CAS\Contracts\TicketLocker - create a class implements 
Leo108\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