Skip to content

System requirements

Stephen Vickers edited this page Jul 31, 2023 · 5 revisions

This class library is written for PHP 8.1+ (use version 4 for PHP 5.6+). It includes native support for MySQLi, SQL Server, Oracle, PostgreSQL and PDO database connections, but others can be used by writing an override to the DataConnector\DataConnector class. It has a dependency on the firebase/php-jwt library to handle JWTs but also has native support for the Web Token JWT Framework library which can be used by assigning it in your code.

...
Jwt\Jwt::setJwtClient(new Jwt\WebTokenClient());
...

Other JWT libraries can be used by writing a new Jwt\ClientInterface. Contributions of additional JWT client interfaces are welcomed.

Clone this wiki locally