Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Yubico/php-u2flib-server

Repository files navigation

php-u2flib-server

Note
OBSOLETE: This project is no longer maintained. U2F has been superseded by Web Authentication. We recommend using WebAuthn instead.

Build Status Coverage Scrutinizer Code Quality

Introduction

Serverside U2F library for PHP. Provides functionality for registering tokens and authentication with said tokens.

To read more about U2F and how to use a U2F library, visit developers.yubico.com/U2F.

License

The project is licensed under a BSD license. See the file COPYING for exact wording. For any copyright year range specified as YYYY-ZZZZ in this package note that the range specifies every single year in that closed interval.

Dependencies

The only dependency is the openssl extension to PHP that has to be enabled.

A composer.json is included in the distribution to make things simpler for other project using composer.

Tests

To run the test suite PHPUnit is required. To run it, type:

$ phpunit