PHPackages                             kaydee123/msg91-php - 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. [API Development](/categories/api)
4. /
5. kaydee123/msg91-php

ActiveLibrary[API Development](/categories/api)

kaydee123/msg91-php
===================

A PHP client library for MSG91 SMS and OTP services. Compatible with PHP 8.0 through 8.5.

v1.0.0(5mo ago)063↓100%1MITPHPPHP &gt;=8.0,&lt;8.6

Since Dec 3Pushed 5mo agoCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

MSG91 PHP Package
=================

[](#msg91-php-package)

A PHP client library for MSG91 SMS and OTP services. Compatible with PHP 8.0 through 8.5.

Features
--------

[](#features)

- Send SMS messages (single and bulk)
- Send OTP via SMS
- Verify OTP codes
- Retry/Resend OTP (text or voice)
- Template-based SMS support
- DLT compliance support for India
- Comprehensive error handling
- Framework-agnostic (works with any PHP project)

Requirements
------------

[](#requirements)

- PHP 8.0 to 8.5
- Composer
- MSG91 account with API credentials

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

[](#installation)

Install the package via Composer:

```
composer require kaydee123/msg91-php
```

Configuration
-------------

[](#configuration)

First, you need to get your MSG91 Auth Key from your [MSG91 Dashboard](https://control.msg91.com/).

Usage
-----

[](#usage)

### Basic Setup

[](#basic-setup)

```
