PHPackages                             upcodersir/otp-auth - 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. upcodersir/otp-auth

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

upcodersir/otp-auth
===================

A Laravel package to send/verify OTP authentication codes

1.0.8(1y ago)08MITPHP

Since Jun 10Pushed 9mo agoCompare

[ Source](https://github.com/upcodersir/otp-auth)[ Packagist](https://packagist.org/packages/upcodersir/otp-auth)[ RSS](/packages/upcodersir-otp-auth/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (8)Used By (0)

**OTP-AUTH**

A Laravel package to send/verify OTP authentication codes

**Installation**

To install this package in your Laravel project, use the following command:

```
composer require upcodersir/otp-auth

```

To publish config file, run the following command:

```
php artisan vendor:publish

```

Running that command, creates a `otp.php` file in your project's config folder, and you need to customize it.

- valid\_time
- user\_table
- token\_table
- sms\_client
- sms\_api\_url
- sms\_api\_key
- mobile\_containing\_table

If your user's mobile numbers are not in `user_table` table, set `mobile_containing_table` to its name.

Then run `artisan migrate` to migrate tables:

```
php artisan migrate

```

**Usage**

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance52

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

7

Last Release

387d ago

### Community

Maintainers

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

---

Top Contributors

[![upcodersir](https://avatars.githubusercontent.com/u/202259704?v=4)](https://github.com/upcodersir "upcodersir (18 commits)")

### Embed Badge

![Health badge](/badges/upcodersir-otp-auth/health.svg)

```
[![Health](https://phpackages.com/badges/upcodersir-otp-auth/health.svg)](https://phpackages.com/packages/upcodersir-otp-auth)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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