Requirements

PHP

PHP >= 7.4 is required for this library.

PHP Extensions

  • json

  • libxml

  • simplexml

Packages

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

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

Dependency

PSR

Implementations

Example package

Cache

PSR-6

cache-implementation

symfony/cache

HTTP Message

PSR-7

http-message-implementations

nyholm/psr7

HTTP Factory

PSR-17

http-factory-implementations

loophp/psr17

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.

CAS Lib 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