zbateson/phpcas-dev

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

1.0.2 2022-06-13 20:40 UTC

This package is auto-updated.

Last update: 2024-10-14 01:47:37 UTC


README

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