PHPackages                             yubico/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. yubico/u2flib-server

AbandonedArchivedLibrary[Security](/categories/security)

yubico/u2flib-server
====================

Library for U2F implementation

1.0.2(7y ago)2876.3M↓18.6%6415BSD-2-ClausePHPPHP &gt;=5.6

Since Oct 16Pushed 3y ago56 watchersCompare

[ Source](https://github.com/Yubico/php-u2flib-server)[ Packagist](https://packagist.org/packages/yubico/u2flib-server)[ Docs](https://developers.yubico.com/php-u2flib-server)[ RSS](/packages/yubico-u2flib-server/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (9)Used By (15)

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

[](#php-u2flib-server)

Note

*OBSOLETE: This project is no longer maintained. U2F has been superseded by [Web Authentication](https://www.w3.org/TR/webauthn/). We recommend using WebAuthn instead.*

[![Build Status](https://camo.githubusercontent.com/76cc8f4c80043d8a8f6841ca2e807afd737af43ed0d7db6466f3ba3371d6746d/68747470733a2f2f7472617669732d63692e6f72672f59756269636f2f7068702d7532666c69622d7365727665722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Yubico/php-u2flib-server)[![Coverage](https://camo.githubusercontent.com/a4ef58e3edb935d32bedb60fda3bd3aa41cca9c6685726dd3b0d53b115ad483a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f59756269636f2f7068702d7532666c69622d7365727665722f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/Yubico/php-u2flib-server?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/edeff438cd7e00124fae7f3e60460fa571f909ea9271f441187d9af85420936b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f59756269636f2f7068702d7532666c69622d7365727665722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Yubico/php-u2flib-server/?branch=master)

### Introduction

[](#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](http://developers.yubico.com/U2F).

### License

[](#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

[](#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

[](#tests)

To run the test suite [PHPUnit](https://phpunit.de) is required. To run it, type:

```
$ phpunit
```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity63

Solid adoption and visibility

Community40

Growing community involvement

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 74.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.

###  Release Activity

Cadence

Every ~284 days

Recently: every ~353 days

Total

6

Last Release

2811d ago

Major Versions

0.1.0 → 1.0.02016-02-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/9279f7d75937b9c41b774240809af8ae058fa617940bed7ccc213050451b9a4e?d=identicon)[klali](/maintainers/klali)

---

Top Contributors

[![klali](https://avatars.githubusercontent.com/u/264413?v=4)](https://github.com/klali "klali (161 commits)")[![LukasReschke](https://avatars.githubusercontent.com/u/878997?v=4)](https://github.com/LukasReschke "LukasReschke (17 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)")[![francislavoie](https://avatars.githubusercontent.com/u/2111701?v=4)](https://github.com/francislavoie "francislavoie (4 commits)")[![ChristophWurst](https://avatars.githubusercontent.com/u/1374172?v=4)](https://github.com/ChristophWurst "ChristophWurst (2 commits)")[![sattoke](https://avatars.githubusercontent.com/u/1974871?v=4)](https://github.com/sattoke "sattoke (1 commits)")[![StormTide](https://avatars.githubusercontent.com/u/819357?v=4)](https://github.com/StormTide "StormTide (1 commits)")[![bistory](https://avatars.githubusercontent.com/u/108102?v=4)](https://github.com/bistory "bistory (1 commits)")[![zauguin](https://avatars.githubusercontent.com/u/962229?v=4)](https://github.com/zauguin "zauguin (1 commits)")[![casperbiering](https://avatars.githubusercontent.com/u/461165?v=4)](https://github.com/casperbiering "casperbiering (1 commits)")[![emlun](https://avatars.githubusercontent.com/u/1367758?v=4)](https://github.com/emlun "emlun (1 commits)")[![grueneedv](https://avatars.githubusercontent.com/u/17144683?v=4)](https://github.com/grueneedv "grueneedv (1 commits)")[![Julian0815](https://avatars.githubusercontent.com/u/37510054?v=4)](https://github.com/Julian0815 "Julian0815 (1 commits)")[![multiwebinc](https://avatars.githubusercontent.com/u/901732?v=4)](https://github.com/multiwebinc "multiwebinc (1 commits)")[![paragonie-security](https://avatars.githubusercontent.com/u/15914520?v=4)](https://github.com/paragonie-security "paragonie-security (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[sarciszewski/php-future

Polyfill new (5.6+) features into old (5.4+) versions of PHP

411.5M7](/packages/sarciszewski-php-future)[tomgrohl/laravel4-php71-encrypter

Laravel 4.2 Encrypter for PHP 7.1+

42248.7k](/packages/tomgrohl-laravel4-php71-encrypter)[adbario/php-encrypter

Encryption with AES-256 and HMAC-SHA256

117.5k](/packages/adbario-php-encrypter)

PHPackages © 2026

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