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 2w ago

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 52% 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

2671d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12195263?v=4)[Ritesh Singh](/maintainers/riteshsingh1)[@riteshsingh1](https://github.com/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

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

42010.0k](/packages/venturedrake-laravel-crm)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nativephp/mobile

NativePHP for Mobile

1.0k55.0k87](/packages/nativephp-mobile)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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