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(11mo ago)08MITPHP

Since Jun 10Pushed 8mo 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 1mo ago

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 54% of packages

Maintenance56

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

341d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a74845ab532bfae87056d31914c99b5a738e43fdf6c41c43410d4b5332aaaa63?d=identicon)[upcoders](/maintainers/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

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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