alcad / yii2-cas
Simple client for CAS
Installs: 979
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 4
Forks: 4
Type:yii2-extension
Requires
- php: >=5.3.0
- jasig/phpcas: *
- yiisoft/yii2: ~2.0
This package is not auto-updated.
Last update: 2024-11-23 18:34:04 UTC
README
Simple wrapper for phpCAS in Yii2
NOTE: Module is in initial development. jasig/phpCAS is required
Configuration
config/param.php
return [ ... 'cas' => [ 'host' => 'https://app.example.com/', 'port' => 443, 'uri' => '/cas', 'log_file' => '/tmp/phpCAS.log', ], ... ];
config/web.php
$config = [ ... 'bootstrap' => [... , 'cas'], 'components' => [ 'casUser' => [ 'class' => 'alcad\cas\CasUser', ] ], 'modules' => [ 'cas' => [ 'class' => 'alcad\cas\Cas', ], ] ... ]