drupol/pcas

dev-master 2017-12-13 20:42 UTC

README

Build Status

pCAS library

pCAS, a CAS library for PHP.

Installation

composer require drupol/pcas

Demo

The pCAS library is bundled with two independent Symfony app:

  • demo-client: A basic web app that can authenticate to a CAS server to access specific pages.
  • demo-server: A basic CAS server.

In order to test pCAS library, you must run the server:

cd demo-server
composer install
php bin/console server:run 127.0.1.1:8001

Then run the web app:

cd demo-client
composer install
php bin/console server:run 127.0.0.1:8001

Then go on http://127.0.0.1:8001.

Run the tests

composer install
./vendor/bin/grumphp run