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

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

2875d 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

[laravel/framework

The Laravel Framework.

34.9k556.2M21.3k](/packages/laravel-framework)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k99.8M350](/packages/laravel-horizon)[laravel/octane

Supercharge your Laravel application's performance.

4.0k28.5M257](/packages/laravel-octane)[statamic/cms

The Statamic CMS Core Package

4.9k3.8M1.1k](/packages/statamic-cms)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84511.6M67](/packages/php-open-source-saver-jwt-auth)[salehhashemi/laravel-otp-manager

Laravel OTP manager

18813.9k](/packages/salehhashemi-laravel-otp-manager)

PHPackages © 2026

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