PHPackages                             satyam147/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. satyam147/sendotp

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

satyam147/sendotp
=================

SendOTP is a composer package for Message91's (msg91) SendOTP API to use in Laravel and PHP applications.

v1.1.3(9mo ago)03.8kMITPHP

Since Jun 24Pushed 7mo agoCompare

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

READMEChangelogDependenciesVersions (12)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 satyam147/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

37

—

LowBetter than 82% of packages

Maintenance65

Regular maintenance activity

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65% 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 ~40 days

Recently: every ~46 days

Total

11

Last Release

286d ago

### Community

Maintainers

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

---

Top Contributors

[![satyam147](https://avatars.githubusercontent.com/u/20718656?v=4)](https://github.com/satyam147 "satyam147 (13 commits)")[![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)")

---

Tags

msg91sendotpsendotp-phpsendotp-php-sdksendotp-laravelsendotp-laravel-sdksendotp-laravel-packagesendotp-php-packagesendotp-php-sdk-packagemessage91message91-sendotpmessage91-sendotp-phpmessage91-sendotp-php-sdkmessage91-sendotp-laravelmessage91-sendotp-laravel-sdkmessage91-sendotp-laravel-packagemsg91-sendotpmsg91-sendotp-phpmsg91-sendotp-php-sdkmsg91-sendotp-laravelmsg91-sendotp-laravel-sdkmsg91-sendotp-laravel-package

### Embed Badge

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

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M228](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M52](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[eduardokum/laravel-mail-auto-embed

Library for embed images in emails automatically

1702.0M5](/packages/eduardokum-laravel-mail-auto-embed)

PHPackages © 2026

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