PHPackages                             paul999/u2flib-server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. paul999/u2flib-server

ActiveLibrary[Security](/categories/security)

paul999/u2flib-server
=====================

Library for U2F implementation

09381PHP

Since Aug 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/paul999/php-u2flib-server)[ Packagist](https://packagist.org/packages/paul999/u2flib-server)[ RSS](/packages/paul999-u2flib-server/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (1)

php-u2flib-server
-----------------

[](#php-u2flib-server)

[![Build Status](https://camo.githubusercontent.com/eba7083e896e365de442b781970e20842446e06b346dfb3a28deb9056827fc9e/68747470733a2f2f7472617669732d63692e6f72672f7061756c3939392f7068702d7532666c69622d7365727665722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/paul999/php-u2flib-server)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d3f284a78108911cec43d772a392b5dc9e2d5d3887767f30b327094ad7ea24a2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7061756c3939392f7068702d7532666c69622d7365727665722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/paul999/php-u2flib-server/)[![Coverage Status](https://camo.githubusercontent.com/6d8da9bdef2279be7f41627c75abe58f0973b501ef9a33674f024fc350e29c26/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7061756c3939392f7068702d7532666c69622d7365727665722f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/paul999/php-u2flib-server?branch=master)

Introduction
============

[](#introduction)

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

This project started as fork of the code Originally from [Yubico](https://github.com/Yubico/php-u2flib-server), however it is not a direct replacement. Code changes are required to use this new libary.

To read more about U2F and how to use a U2F library, visit [http://developers.yubico.com/U2F](developers.yubico.com/U2F).

Usage
=====

[](#usage)

A full set of documentation is coming. Some old examples of the original libary are still in examples/, however these are not compitable with the fork yet.

It is prefered to use composer for managing your dependencies. You can add this libary by simply running composer require:

```
composer require paul999/u2flib-server

```

License
=======

[](#license)

The project is licensed under a BSD license. See the file COPYING for exact wording.

Tests
=====

[](#tests)

To run the test suite link:[https://phpunit.de\[PHPUnit\]](https://phpunit.de%5BPHPUnit%5D) is required. To run it, type:

$ phpunit

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/133ea35380598b2f93888d7c840cf4384349a2ab5787811d8258c3e71fbce1a7?d=identicon)[paul999](/maintainers/paul999)

---

Top Contributors

[![klali](https://avatars.githubusercontent.com/u/264413?v=4)](https://github.com/klali "klali (136 commits)")[![LukasReschke](https://avatars.githubusercontent.com/u/878997?v=4)](https://github.com/LukasReschke "LukasReschke (16 commits)")[![paul999](https://avatars.githubusercontent.com/u/65767?v=4)](https://github.com/paul999 "paul999 (16 commits)")[![shield-9](https://avatars.githubusercontent.com/u/3660715?v=4)](https://github.com/shield-9 "shield-9 (11 commits)")[![minisu](https://avatars.githubusercontent.com/u/1684261?v=4)](https://github.com/minisu "minisu (6 commits)")[![maxnet](https://avatars.githubusercontent.com/u/1123701?v=4)](https://github.com/maxnet "maxnet (5 commits)")[![StormTide](https://avatars.githubusercontent.com/u/819357?v=4)](https://github.com/StormTide "StormTide (1 commits)")[![multiwebinc](https://avatars.githubusercontent.com/u/901732?v=4)](https://github.com/multiwebinc "multiwebinc (1 commits)")[![sattoke](https://avatars.githubusercontent.com/u/1974871?v=4)](https://github.com/sattoke "sattoke (1 commits)")

### Embed Badge

![Health badge](/badges/paul999-u2flib-server/health.svg)

```
[![Health](https://phpackages.com/badges/paul999-u2flib-server/health.svg)](https://phpackages.com/packages/paul999-u2flib-server)
```

###  Alternatives

[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[sansec/magento2-module-shield

15218.6k](/packages/sansec-magento2-module-shield)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
