Installation

The easiest way to install it is through Composer

composer require ecphp/cas-lib

Based on the context this package is used, you might also need to install a package which provides PSR7 implementations.

There are many packages implementing PSR7, you can pick the one you prefer, exemple:

composer require nyholm/psr7

Next, you’ll need an implementation of PSR17. PSR17 provides the required factories for the HTTP protocol. In order to facilitate the customizations, you can either implements your own PSR17 implementation or use loophp/psr17 which provides a default one:

composer require loophp/psr17