PHPackages                             aqlx86/sms-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. aqlx86/sms-otp

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

aqlx86/sms-otp
==============

SMS OTP for Laravel 5 using iSMS gateway.

v1.3.1(7y ago)36922MITPHPPHP &gt;=5.5.9

Since May 25Pushed 7y ago1 watchersCompare

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

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

Introduction
------------

[](#introduction)

SMS OTP for Laravel 5. By default this uses iSMS as SMS provider.

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

[](#installation)

Add sms-otp to your composer.json file:

```
composer.phar require "aqlx86/sms-otp"

```

Add the service provider to your Laravel application config/app.php:

```
SMSOTP\SMSOTPServiceProvider::class
```

Publish
-------

[](#publish)

```
php artisan vendor:publish --provider="SMSOTP\SMSOTPServiceProvider"
php artisan migrate

```

Usage
-----

[](#usage)

To send OTP, remember to include `:code` this will be replaced with the actual code.

```
$sender = app()->make(OTPSender::class);
$sender->send('6399512345678', 'holy shit your otp code is :code');

```

To verify OTP code

```
$verifier = app()->make(OTPVerifier::class);
$verifier->verify('6399512345678', 'A44E8');

```

Extending
---------

[](#extending)

### Using other SMS provider

[](#using-other-sms-provider)

Create your sms provider

```
class CustomSMSProvider implemnts SMSOTP\Contract\SMSGateway
{
    public function send($number, $message)
    {
        // your implemention
    }
}

```

Update configuration `config/smsotp.php`

```
'sms' => CustomSMSProvider::class,

```

### Generating your own OTP code

[](#generating-your-own-otp-code)

Do the same as creating your own SMS provider.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

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

Every ~123 days

Total

5

Last Release

2830d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/282673?v=4)[Arnel Labarda](/maintainers/aqlx86)[@aqlx86](https://github.com/aqlx86)

---

Top Contributors

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

---

Tags

ismslaravelotpsmslaravelotpsmsisms

### Embed Badge

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

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

###  Alternatives

[salehhashemi/laravel-otp-manager

Laravel OTP manager

18813.5k](/packages/salehhashemi-laravel-otp-manager)[erdemkeren/laravel-otp

Secure your laravel routes with otps. (one time passwords)

1608.5k](/packages/erdemkeren-laravel-otp)[craftsys/msg91-laravel

Laravel service provider for Msg91 apis to Send OTPs, Verify OTPs, Resend OTPs, Send SMS (Short Message) etc

12101.0k2](/packages/craftsys-msg91-laravel)[rinvex/laravel-authy

Rinvex Authy is a simple wrapper for Authy TOTP, the best rated Two-Factor Authentication service for consumers, simplest 2fa Rest API for developers and a strong authentication platform for the enterprise.

3277.0k1](/packages/rinvex-laravel-authy)[alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support for multiple separate remember tokens, IP geolocation, User-Agent parser

2013.2k](/packages/alajusticia-laravel-logins)

PHPackages © 2026

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