PHPackages                             khlystou/moonshine-otp-field - 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. khlystou/moonshine-otp-field

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

khlystou/moonshine-otp-field
============================

One-Time Password field for MoonShine Laravel admin panel

1.0.0(7mo ago)11MITBladePHP ^8.2|^8.3

Since Nov 17Pushed 4mo agoCompare

[ Source](https://github.com/khlystou/moonshine-otp-field)[ Packagist](https://packagist.org/packages/khlystou/moonshine-otp-field)[ Docs](https://github.com/khlystou/moonshine-otp-field)[ RSS](/packages/khlystou-moonshine-otp-field/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

One-Time Password field for [MoonShine Laravel](https://getmoonshine.app) admin panel.
======================================================================================

[](#one-time-password-field-for-moonshine-laravel-admin-panel)

### Requirements

[](#requirements)

- MoonShine v3.0+

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

[](#installation)

```
composer require khlystou/moonshine-otp-field
```

Usage
-----

[](#usage)

```
use Khlystou\OtpField\Field\Otp;

Otp::make()
    ->lenght(4)
    ->masked();
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance70

Regular maintenance activity

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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

229d ago

### Community

Maintainers

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

---

Tags

otpfieldsmoonshine

### Embed Badge

![Health badge](/badges/khlystou-moonshine-otp-field/health.svg)

```
[![Health](https://phpackages.com/badges/khlystou-moonshine-otp-field/health.svg)](https://phpackages.com/packages/khlystou-moonshine-otp-field)
```

###  Alternatives

[spomky-labs/otphp

A PHP library for generating one time passwords according to RFC 4226 (HOTP Algorithm) and the RFC 6238 (TOTP Algorithm) and compatible with Google Authenticator

1.5k50.3M168](/packages/spomky-labs-otphp)[christian-riesen/otp

One Time Passwords, hotp and totp according to RFC4226 and RFC6238

885.5M6](/packages/christian-riesen-otp)[fouladgar/laravel-otp

This package provides convenient methods for sending and validating OTP notifications to users for authentication.

21227.6k](/packages/fouladgar-laravel-otp)[salehhashemi/laravel-otp-manager

Laravel OTP manager

18813.7k](/packages/salehhashemi-laravel-otp-manager)[chillerlan/php-authenticator

A generator for counter- and time based 2-factor authentication codes (Google Authenticator). PHP 8.2+

58133.8k3](/packages/chillerlan-php-authenticator)[teckwei1993/laravel-otp

Laravel OTP generator and validation

5563.2k](/packages/teckwei1993-laravel-otp)

PHPackages © 2026

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