Requirements

PHP

PHP greater than 7.1 is required for this library.

PHP Extensions

  • json
  • libxml
  • simplexml

Packages

In order to get the PSR CAS library running, you will require some dependencies.

To give a maximum freedom to the users using PSR CAS, each required dependencies is a well defined standardized PHP class.

Dependency PSR Implementations Example package
Logger PSR-3 log-implementation monolog/monolog
Cache PSR-6 cache-implementation symfony/cache
Server request PSR-7 http-message-implementations nyholm/psr7-server
HTTP factories PSR-17 http-factory-implementations nyholm/psr7
HTTP Client PSR-18 http-client-implementations symfony/http-client

You are free to use any package you want, as long as they are implementing the proper requirement.

PSR CAS only returns standardized HTTP responses, you will need to emit the response back to the client.

You may use custom code for that, but you can also use any of the following packages for this