PHPackages                             sendotp/sendotp - 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. sendotp/sendotp

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

sendotp/sendotp
===============

1.1(8y ago)61.7k10[1 issues](https://github.com/MSG91/sendotp-php/issues)[1 PRs](https://github.com/MSG91/sendotp-php/pulls)PHP

Since Apr 13Pushed 4y ago2 watchersCompare

[ Source](https://github.com/MSG91/sendotp-php)[ Packagist](https://packagist.org/packages/sendotp/sendotp)[ RSS](/packages/sendotp-sendotp/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

\#SendOTP - PHP SDK

This SDK allows you to connect to SendOTP server from your php app. To start off, follow the following guide:

[![MIT Licence](https://camo.githubusercontent.com/57a78e9d793bcdcd334210014933764596fd7d9d8cc032452d6859527053280d/68747470733a2f2f6261646765732e66726170736f66742e636f6d2f6f732f6d69742f6d69742e706e673f763d313033)](https://opensource.org/licenses/mit-license.php)[![forthebadge](https://camo.githubusercontent.com/0500e27fcd4b4f7e01d2adc0aa3f86ccf34c369c2297ec3acd9fe06320a47d52/687474703a2f2f666f7274686562616467652e636f6d2f696d616765732f6261646765732f6275696c742d62792d646576656c6f706572732e737667)](http://forthebadge.com)

\##Set-up:

First of all, download the sdk by composer:

```
composer require sendotp/sendotp

or add this into your composer.json
  "require": {
          "sendotp/sendotp": "^1.0"
      }

```

Then, require composer autoload and use package in your code:

```
require __DIR__ . '/vendor/autoload.php';

use sendotp\sendotp;

```

Once required, the last step is to initialize the SDK with your project name and project API Key:

```
$otp = new sendotp('AUTK-KEY','Message Template : My otp is {{otp}}. Please do not share Me.');

```

That's all, your SDK is set up! You can now use any block by copying the code snippet from the marketplace.

\##Usage:

```
print_r($otp->send('91998153xxxx', 'MSGIND'));

```

The printed result will be:

```
Array
(
  [message] => 37646d6b7658303839363039
  [type] => success
  [otp] => 8227
)

```

\##Issues:

As this is a pre-release version of the SDK, you may expirience bugs. Please report them in the issues section to let us know. You may use the intercom chat on  for support at any time.

\##Licence:

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~113 days

Total

2

Last Release

3253d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87470a418e44319c9b4984de07816ba2504b884d4504291f54aa3cb0598a7932?d=identicon)[socket](/maintainers/socket)

---

Top Contributors

[![rwalkover](https://avatars.githubusercontent.com/u/19285440?v=4)](https://github.com/rwalkover "rwalkover (5 commits)")[![chintanbanugaria](https://avatars.githubusercontent.com/u/222917?v=4)](https://github.com/chintanbanugaria "chintanbanugaria (2 commits)")

### Embed Badge

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

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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