sindll / yii2-cas
The cas extension for the Yii framework
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- apereo/phpcas: ^1.3
- monolog/monolog: ^2.2
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2025-03-16 17:29:31 UTC
README
Installation
php composer.phar require --prefer-dist sindll/yii2-cas:"^1.0"
or add
"sindll/yii2-cas": "^1.0"
Configuration
main.php
return [ //.... 'bootstrap' => [ //... 'cas', ], 'modules' => [ //... 'cas' => [ 'class' => 'sindll\cas\Module', ], ], 'components' => [ //... 'user' => [ //... 'loginUrl' => ['cas/passport/login'], ], ] ];
params.php
return [ //... 'cas' => [ 'host' => '', 'port' => '', 'path' => '', 'log' => '', 'handle_logout_request' => [ 'check_client' => false, // default 'allowed_clients' => [], // default ], ] ];