PHPackages                             rapide/yubikey - 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. rapide/yubikey

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

rapide/yubikey
==============

Yubikey for Laravel

4.0.0(9mo ago)18.8k—8.3%[1 PRs](https://github.com/rapideinternet/Yubikey/pulls)MITPHPPHP ^8.2

Since Feb 7Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/rapideinternet/Yubikey)[ Packagist](https://packagist.org/packages/rapide/yubikey)[ RSS](/packages/rapide-yubikey/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

Yubikey
=======

[](#yubikey)

Yubikey for Laravel 5

This package is based on the [Laravel 4 package](https://github.com/Monarobase/Yubikey) by Monarobase.

[Buy a Yubikey](https://store.yubico.com)

[Yubico API Key Generator](https://upgrade.yubico.com/getapikey/)

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

[](#installation)

Add `bitbeans/yubikey` to `composer.json`.

```
"bitbeans/yubikey": "dev-master"

```

Run `composer update` to pull down the latest version of Yubikey.

Now open up `/config/app.php` and add the service provider to your `providers` array.

```
'providers' => [
	Bitbeans\Yubikey\YubikeyServiceProvider::class,
]
```

And also the alias.

```
'aliases' => [
	'Yubikey' => Bitbeans\Yubikey\YubikeyFacade::class,
]
```

You can easily integrate the Yubikey Verification into your authentication system in two steps :

- Add a field (eg `yubikey_identity`) in your user table
- now check your user with username/email + password + yubikey\_identity

Configuration
-------------

[](#configuration)

Run `php artisan vendor:publish` and modify the config file (PROJECTFOLDER/config/yubikey.php) with your own information.

Example
-------

[](#example)

```
use YubiKey;

try {
	$yubikey_auth = Yubikey::verify(Input::get('otp'));
	$yubikey_params = Yubikey::getParameters();
	$yubikey_identity = Yubikey::getParameter('identity');
} catch (\Exception $exception) {
	$error = $e->getMessage();
}
```

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance58

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor2

2 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 ~346 days

Recently: every ~538 days

Total

8

Last Release

277d ago

Major Versions

0.1.0 → 1.0.02019-10-16

1.1.3 → 2.0.02021-11-17

v2.0.1 → v3.0.02022-10-21

v3.0.0 → 4.0.02025-09-30

PHP version history (3 changes)0.1.0PHP &gt;=7.0.0

v3.0.0PHP &gt;=8.0

4.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/276ac615994962c132eb8c6af822850eecf36cf6482969c673fe0d95a1266a9d?d=identicon)[lucasvdh](/maintainers/lucasvdh)

![](https://www.gravatar.com/avatar/5a784facd31d0bfe768b4919f5fe9c5537729fb36f5579bae95a2ec080f33448?d=identicon)[rapideinternet](/maintainers/rapideinternet)

---

Top Contributors

[![lucasvdh](https://avatars.githubusercontent.com/u/4311594?v=4)](https://github.com/lucasvdh "lucasvdh (12 commits)")[![bitbeans](https://avatars.githubusercontent.com/u/1482102?v=4)](https://github.com/bitbeans "bitbeans (11 commits)")[![elyerinhaughie](https://avatars.githubusercontent.com/u/33913289?v=4)](https://github.com/elyerinhaughie "elyerinhaughie (5 commits)")[![elyerinfox](https://avatars.githubusercontent.com/u/33913289?v=4)](https://github.com/elyerinfox "elyerinfox (5 commits)")[![paragonie-scott](https://avatars.githubusercontent.com/u/11591518?v=4)](https://github.com/paragonie-scott "paragonie-scott (2 commits)")[![developerdino](https://avatars.githubusercontent.com/u/747501?v=4)](https://github.com/developerdino "developerdino (1 commits)")[![Quezler](https://avatars.githubusercontent.com/u/3179271?v=4)](https://github.com/Quezler "Quezler (1 commits)")

---

Tags

laravelyubikey

### Embed Badge

![Health badge](/badges/rapide-yubikey/health.svg)

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

###  Alternatives

[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.3M18](/packages/directorytree-ldaprecord-laravel)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6804.7k6](/packages/hasinhayder-tyro)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1563.1k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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