PHPackages                             surfnet/yubikey-api-client - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. surfnet/yubikey-api-client

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

surfnet/yubikey-api-client
==========================

A Yubikey OTP validation service client

2.4.3(2y ago)324.0k↑67.9%22Apache-2.0PHPPHP ^8.0

Since Apr 29Pushed 2y ago8 watchersCompare

[ Source](https://github.com/SURFnet/yubikey-api-client)[ Packagist](https://packagist.org/packages/surfnet/yubikey-api-client)[ RSS](/packages/surfnet-yubikey-api-client/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (8)Dependencies (6)Versions (19)Used By (2)

Yubikey API Client
==================

[](#yubikey-api-client)

Build StatusScrutinizer Code Qualitydevelop[![Build Status](https://camo.githubusercontent.com/bdf8f85d1574f01ea8e36aca5d88b06993a4483986b1fc699002f2604f47b742/68747470733a2f2f6170702e7472617669732d63692e636f6d2f535552466e65742f797562696b65792d6170692d636c69656e742e7376673f6272616e63683d646576656c6f70)](https://app.travis-ci.com/github/SURFnet/yubikey-api-client)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/740c4167508fd0ce4af10055df1395e1ab1d79f4326bece9e3cb257f52e41ba4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f535552466e65742f797562696b65792d6170692d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/SURFnet/yubikey-api-client/?branch=develop)master[![Build Status](https://camo.githubusercontent.com/a5766c077f2280f97fb33cb021e472947fc44a60e1867baea8f87445117ae9c0/68747470733a2f2f6170702e7472617669732d63692e636f6d2f535552466e65742f797562696b65792d6170692d636c69656e742e7376673f6272616e63683d646d6173746572)](https://app.travis-ci.com/github/SURFnet/yubikey-api-client)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/809390303c8bc6c43ca5987a98a6f035d73c3703afb655172a3c91cfa639c262/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f535552466e65742f797562696b65792d6170692d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/SURFnet/yubikey-api-client/?branch=master)A Yubikey's OTP validation service client.

Installation
------------

[](#installation)

Add the package to your Composer file.

```
composer require 'surfnet/yubikey-api-client'
```

Usage
-----

[](#usage)

See [this OTP verification example](examples/verify-otp.php).

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~262 days

Recently: every ~159 days

Total

12

Last Release

835d ago

Major Versions

1.0.0 → 2.0.02017-02-20

PHP version history (4 changes)1.0.0PHP &gt;=5.4,&lt;8.0-dev

2.0.0PHP ^5.6|^7

2.2.0PHP ^7.2|^8.0

2.4.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/803ee614b9224b163d1bdb86e754af17eea0af3eabeda3e034ee8df1cb7b7e84?d=identicon)[pgmvdm](/maintainers/pgmvdm)

![](https://www.gravatar.com/avatar/616909370e1d434adc1088469108ed5cd32c15656d037d24d89dd9750bbbed00?d=identicon)[phavekes](/maintainers/phavekes)

---

Top Contributors

[![tvdijen](https://avatars.githubusercontent.com/u/841045?v=4)](https://github.com/tvdijen "tvdijen (14 commits)")[![phavekes](https://avatars.githubusercontent.com/u/3096423?v=4)](https://github.com/phavekes "phavekes (12 commits)")[![rjkip](https://avatars.githubusercontent.com/u/1734555?v=4)](https://github.com/rjkip "rjkip (10 commits)")[![parijke](https://avatars.githubusercontent.com/u/7671998?v=4)](https://github.com/parijke "parijke (5 commits)")[![MKodde](https://avatars.githubusercontent.com/u/28252948?v=4)](https://github.com/MKodde "MKodde (5 commits)")[![DRvanR](https://avatars.githubusercontent.com/u/1422284?v=4)](https://github.com/DRvanR "DRvanR (4 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (1 commits)")[![pmeulen](https://avatars.githubusercontent.com/u/1485300?v=4)](https://github.com/pmeulen "pmeulen (1 commits)")[![thijskh](https://avatars.githubusercontent.com/u/3808792?v=4)](https://github.com/thijskh "thijskh (1 commits)")

---

Tags

surfconextyubikeyyubicosurfnet

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/surfnet-yubikey-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/surfnet-yubikey-api-client/health.svg)](https://phpackages.com/packages/surfnet-yubikey-api-client)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k39](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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