Skip to content

System requirements

Stephen Vickers edited this page Aug 17, 2020 · 7 revisions

This class library is written for PHP 5.6 (or higher). It includes native support for MySQL, 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 spomky-labs/jose library which can be used by assigning it in your code.

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

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

Clone this wiki locally