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

ActiveLibrary

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

Yubikey for Laravel

4.0.0(7mo ago)17.9k↑12.5%[1 PRs](https://github.com/rapideinternet/Yubikey/pulls)MITPHPPHP ^8.2

Since Feb 7Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/rapideinternet/Yubikey)[ Packagist](https://packagist.org/packages/rapide/yubikey)[ RSS](/packages/rapide-yubikey/feed)WikiDiscussions master Synced 1mo 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

49

—

FairBetter than 95% of packages

Maintenance62

Regular maintenance activity

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity78

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

230d 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)")[![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

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[glhd/linen

21135.6k](/packages/glhd-linen)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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