PHPackages                             whopa/myotp - 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. whopa/myotp

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

whopa/myotp
===========

Integrate OTP system in your web application

v1.0.1(11y ago)014PHPPHP &gt;=5.3.0

Since Oct 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Whopa/MyOTP)[ Packagist](https://packagist.org/packages/whopa/myotp)[ RSS](/packages/whopa-myotp/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

MyOTP
=====

[](#myotp)

Integra OTP en tus aplicaciones web con Laravel. Funciona con Google Authenticator y otras aplicaciones que soporten OATH (HOTP / TOTP).

### Requisitos

[](#requisitos)

- Laravel 4.1.x

Instalación
-----------

[](#instalación)

Para instalar este paquete, agrega lo siguiente en tu archivo composer.json

```
require {
    "whopa/myotp" : "dev-master"
}
```

Luego ejecuta

`composer install` o `composer update` según sea el caso.

Luego abre el archivo `config/app.php` y agregar en el array `providers`

```
'Whopa\Myotp\MyotpServiceProvider'
```

Uso
---

[](#uso)

El paquete define automáticamente `Myotp` como alias.

Para generar un key secreto.

```
$key = Myotp::userRandomKey();
```

Para generar el OTP en base a la Key

```
$otp = Myotp::generate($key, 30);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

4240d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a471527c0d006cb5e9c3311b440e3325c558ba86289e032bc636987457b95d98?d=identicon)[fedemramato](/maintainers/fedemramato)

---

Top Contributors

[![fedemramato](https://avatars.githubusercontent.com/u/3710472?v=4)](https://github.com/fedemramato "fedemramato (5 commits)")

### Embed Badge

![Health badge](/badges/whopa-myotp/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)[stechstudio/laravel-jwt

Helper package that makes it easy to generate, consume, and protect routes with JWT tokens in Laravel

126117.6k](/packages/stechstudio-laravel-jwt)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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