GitHunt
ZB

zbateson/phpCASDev

Very simple testing/development environment for projects using jasig/phpcas

phpCASDev

Simple development/testing environment for CAS authentication in PHP. Allows bypassing requests to a CAS server, serving a local login page with a single password and an open user field.

The package is intended as a drop-in replacement for jasig/phpcas. The arguments sent to phpCAS::client should be all that needs to be changed.

Installation

composer require-dev phpcas-dev

phpcas-dev 'provides' jasig/phpcas, which causes it to be removed in 'dev'.

Configuration

phpCASDev uses configuration options in composer.json. Default settings are taken from phpCASDev's composer.json, but overridden if installed as a library for another project.

Usage

php -S 127.0.0.1 -t vendor/zbateson/phpcasdev/web

Languages

PHP85.5%CSS9.7%HTML4.8%

Contributors

BSD 2-Clause "Simplified" License
Created November 26, 2014
Updated January 17, 2022
zbateson/phpCASDev | GitHunt