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

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

monarobase/yubikey
==================

Yubikey for Laravel 4

1.0.0(12y ago)94212[1 issues](https://github.com/Monarobase/Yubikey/issues)MITPHPPHP &gt;=5.3.0

Since Nov 18Pushed 7y ago2 watchersCompare

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

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

Yubikey
=======

[](#yubikey)

Yubikey for Laravel 4

Increase the security of your forms with ease using a USB key

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

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

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

[](#installation)

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

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

```

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

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

```
'providers' => array(
	'Monarobase\Yubikey\YubikeyServiceProvider',
)
```

Now add the alias.

```
'aliases' => array(
	'Yubikey' => 'Monarobase\Yubikey\YubikeyFacade',
)
```

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 config:publish monarobase/yubikey` and modify the config file with your own information.

Example
-------

[](#example)

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

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4607d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1773034?v=4)[Monarobase](/maintainers/Monarobase)[@Monarobase](https://github.com/Monarobase)

---

Top Contributors

[![renky](https://avatars.githubusercontent.com/u/6528960?v=4)](https://github.com/renky "renky (3 commits)")[![thujohn](https://avatars.githubusercontent.com/u/580699?v=4)](https://github.com/thujohn "thujohn (3 commits)")[![Monarobase](https://avatars.githubusercontent.com/u/1773034?v=4)](https://github.com/Monarobase "Monarobase (1 commits)")

---

Tags

laravellaravel4yubikey

### Embed Badge

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

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

###  Alternatives

[anhskohbo/no-captcha

No CAPTCHA reCAPTCHA For Laravel.

1.8k8.8M34](/packages/anhskohbo-no-captcha)[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.2M17](/packages/directorytree-ldaprecord-laravel)[hasinhayder/tyro

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

6783.6k5](/packages/hasinhayder-tyro)[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.

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

PHPackages © 2026

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