Downloads
Stars
Version
laravel_cas_server_ldap is a Laravel package that implements the server part of CAS protocol v1/v2/v3. This is a fork of leo108/laravel_cas_server that is backed by LDAP instead of Eloquent.
This package works for Laravel 5.8.
composer require ymkatz/laravel_cas_server_ldap
php artisan vendor:publish --provider="YMKatz\CAS\CASServerServiceProvider"
config/cas.php
, fields in config file are all self-describedApp\User
implement YMKatz\CAS\Contracts\Models\UserModel
YMKatz\CAS\Contracts\TicketLocker
YMKatz\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