PHPackages                             vaibhavpandeyvpz/msg91 - 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. vaibhavpandeyvpz/msg91

ActiveLibrary

vaibhavpandeyvpz/msg91
======================

PHP client for sending SMS/OTP using MSG91.

1.4(3y ago)11.1kMITPHPPHP &gt;=7.1

Since Apr 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/vaibhavpandeyvpz/msg91-php)[ Packagist](https://packagist.org/packages/vaibhavpandeyvpz/msg91)[ RSS](/packages/vaibhavpandeyvpz-msg91/feed)WikiDiscussions main Synced today

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

vaibhavpandeyvpz/msg91
======================

[](#vaibhavpandeyvpzmsg91)

PHP client for sending SMS/OTP using MSG91, includes optional support for Laravel.

### Installation

[](#installation)

```
composer require vaibhavpandeyvpz/msg91
```

#### Laravel &lt; 5.5

[](#laravel--55)

Once the package is installed, open your `app/config/app.php` configuration file and locate the `providers` key. Add the following line to the end:

```
Msg91\Laravel\ServiceProvider::class
```

Next, locate the `aliases` key and add the following line:

```
'Msg91' => Msg91\Laravel\Facade::class,
```

### Configuration

[](#configuration)

You need to add `MSG91_KEY` in your project's `.env` file. You can also publish the default configuration file as `config/msg91.php` using below command.

```
$ php artisan vendor:publish
```

### Usage

[](#usage)

Basic
-----

[](#basic)

- Send an SMS to one or more numbers.

```
