ymkatz / laravel_cas_server_ldap
A laravel package provides CAS server implementation with an LDAP backend
Installs: 63
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 35
pkg:composer/ymkatz/laravel_cas_server_ldap
Requires
- php: >=7.0
- ext-dom: *
- doctrine/dbal: ^2.5
- guzzlehttp/guzzle: ^6.2
- illuminate/support: 5.5.*|5.6.*
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: 3.5.*|3.6.*
- phpunit/phpunit: ^6.0|^7.0
README
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.
Requirements
- PHP >=7.0
- Adldap-Laravel
Installation && Usage
composer require ymkatz/laravel_cas_server_ldapphp artisan vendor:publish --provider="YMKatz\CAS\CASServerServiceProvider"- modify
config/cas.php, fields in config file are all self-described - make your
App\UserimplementYMKatz\CAS\Contracts\Models\UserModel - create a class implements
YMKatz\CAS\Contracts\TicketLocker - create a class implements
YMKatz\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