PHPackages                             imritesh/otp - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. imritesh/otp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

imritesh/otp
============

:description

v1.0(7y ago)11431MITPHPCI failing

Since Mar 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/riteshsingh1/laravel-otp)[ Packagist](https://packagist.org/packages/imritesh/otp)[ Docs](https://github.com/imritesh/otp)[ RSS](/packages/imritesh-otp/feed)WikiDiscussions master Synced yesterday

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

Otp
===

[](#otp)

This package uses 2Factor to send and verify OTP laravel

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

[](#installation)

Via Composer

```
$ composer require imritesh/otp
```

Usage
-----

[](#usage)

### For Sending OTP

[](#for-sending-otp)

```
use imritesh\Otp\Otp;

$new = new ImriteshOtp();
$new->sendOtp('999999999', 'Your-OTP-Code');

```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ritesh Singh](https://github.com/1124ritesh)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Unknown

Total

1

Last Release

2624d ago

### Community

Maintainers

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

---

Top Contributors

[![riteshsingh1](https://avatars.githubusercontent.com/u/12195263?v=4)](https://github.com/riteshsingh1 "riteshsingh1 (7 commits)")

---

Tags

laravelotp

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)[bakame/laravel-domain-parser

Laravel package to integrate PHP Domain parser.

26534.8k4](/packages/bakame-laravel-domain-parser)

PHPackages © 2026

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