PHPackages                             uithread/mgov-sms - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. uithread/mgov-sms

ActiveLibrary[HTTP &amp; Networking](/categories/http)

uithread/mgov-sms
=================

SMS gateway package for mgov

1.0(6y ago)1369MITPHP

Since Nov 22Pushed 6y ago2 watchersCompare

[ Source](https://github.com/annanta-patra/mGovSMS)[ Packagist](https://packagist.org/packages/uithread/mgov-sms)[ Docs](https://github.com/annanta-patra/mGovSMS)[ RSS](/packages/uithread-mgov-sms/feed)WikiDiscussions master Synced 1mo ago

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

Laravel mGovSMS Intergation package
===================================

[](#laravel-mgovsms-intergation-package)

[![Latest Stable Version](https://camo.githubusercontent.com/24377151003776fedbf9596a0b3e28afb73711732dd04d5181c2156dfcc67962/68747470733a2f2f706f7365722e707567782e6f72672f626578766962692f6c61726176656c2d6c6f676765722f762f737461626c65)](https://packagist.org/packages/uithread/mgov-sms)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

#### READY FOR USE!

[](#ready-for-use)

- [About](#about)
- [Features](#features)
- [Requirements](#requirements)
- [Laravel Installation Instructions](#laravel-installation-instructions)
- [Configuration](#configuration)
    - [Configuration File](#configuration-file)
- [File Tree](#file-tree)
- [License](#license)

### About

[](#about)

Laravel mGovSMS Intergation package is for your Laravel or Lumen application. It has default sms log tables. Laravel mGovSMS is easily configurable and customizable. Supports Laravel 5.5, 5.6, 5.7, 5.8, and 6.0+

### Features

[](#features)

Laravel mGovSMS FeaturesSend Single SMSSend OTP SMSSend Bulk SMSSend Unicode Single SMSSend Unicode OTP SMSSend Unicode Bulk SMSLog SMS in databaseEasy Configuration### Requirements

[](#requirements)

- [Laravel 5.5, 5.6, 5.7, 5.8, and 6.0+](https://laravel.com/docs/installation)

### Laravel Installation Instructions

[](#laravel-installation-instructions)

1. From your projects root folder in terminal run:

```
    composer require uithread/mgov-sms
```

2. Register the package Register the package, add the ServiceProvider in config/app.php:

```
    Uithread\MgovSMS\MgovSMSServiceProvider::class,
```

```
Add the Facade in config/app.php

```

```
    'MgovSMS' => Uithread\MgovSMS\Facades\MgovSMSFacade::class,
```

4. Publish the packages config file and migration files by running the following from your projects root folder:

```
    php artisan vendor:publish --provider="Uithread\MgovSMS\MgovSMSServiceProvider"
```

3. Run the migration to add the table to sms log:

```
    php artisan migrate
```

4. To send SMS use below method:

```
      use MgovSMS;

      MgovSMS::sendSingleSMS('MESSAGE Hello World!', '99########');
      MgovSMS::sendOtpSMS('MESSAGE Hello World!', '99########');
      MgovSMS::sendBulkSMS('MESSAGE Hello World!', '99########,98########');
      MgovSMS::sendSingleUnicode('MESSAGE Hello World!', '99########');
      MgovSMS::sendUnicodeOtpSMS('MESSAGE Hello World!', '99########');
      MgovSMS::sendBulkUnicode('MESSAGE Hello World!', '99########,98########');

```

### Configuration

[](#configuration)

Laravel mGovSMS is configured in directly in `/config/mgov-sms.php`.

##### Configuration File

[](#configuration-file)

Here are the `mgov-sms.php` file variables available:

```
    'userName' => 'USER NAME',//username of the department
    'senderId' => 'SENDER ID',//password of the department
    'password' => 'PASSWORD',//senderid of the deparment
    'secureKey' => 'Generated Secure Key',// Secure key generated at https://services.mgov.gov.in/
```

### File Tree

[](#file-tree)

```
├── LICENSE
├── README.md
├── composer.json
└── src
    ├── MgovSMS.php
    ├── MgovSMSServiceProvider.php
    ├── config
    │   └── mgov-sms.php
    ├── Facades
    │   └── MgovSMSFacade.php
    ├── migrations
    │   └── 2019_08_20_083308_create_t_sms_logs_table.php
    └── Models
        └── TSmsLog.php
```

### License

[](#license)

Laravel-logger is licensed under the MIT license. Enjoy!

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2369d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d5e1902639be4ec1c8d50e49e9f5a0ff4f5268ba9b132f955d23385af58c4ca7?d=identicon)[annanta-patra](/maintainers/annanta-patra)

---

Top Contributors

[![annanta-patra](https://avatars.githubusercontent.com/u/29455191?v=4)](https://github.com/annanta-patra "annanta-patra (3 commits)")

---

Tags

smsmgovmgov sms

### Embed Badge

![Health badge](/badges/uithread-mgov-sms/health.svg)

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

###  Alternatives

[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

921.8M10](/packages/infobip-infobip-api-php-client)[esendex/sdk

Send SMS from your application using the Esendex API

22924.5k4](/packages/esendex-sdk)[mediaburst/clockworksms

ClockworkSMS, International SMS API

45143.7k4](/packages/mediaburst-clockworksms)[ismaeltoe/osms

PHP library wrapper of the Orange SMS API.

4540.0k](/packages/ismaeltoe-osms)[greensms/greensms

GREENSMS API: SMS, WhatsApp, Viber, VK, Voice, Call, HLR

2629.6k](/packages/greensms-greensms)[minchao/every8d-php

A EVERY8D SMS SDK for PHP (Unofficial)

1239.9k1](/packages/minchao-every8d-php)

PHPackages © 2026

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