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

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

tecdiary/sms
============

Simple SMS Gateway Package for sending short text messages. Currently Bulksms, Clickatell, Gupshup, Infobip, Itexmo, Mocker, MVaayoo, Nexmo, SmsAchariya, Smsapi, SmsCountry, SmsLane, twilio and Any HTTP/s based Gateways are supported with Custom Gateway. Default Log gateway can be used for testing.

1.0.3(7y ago)64.4k—9.1%4[1 issues](https://github.com/Tecdiary/sms/issues)MITPHPPHP &gt;=7.0.28

Since Mar 22Pushed 7y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

sms
===

[](#sms)

Simple SMS Gateway Package for sending short text messages. Currently Bulksms, Clickatell, Gupshup, Infobip, Itexmo, Mocker, MVaayoo, Nexmo, SmsAchariya, Smsapi, SmsCountry, SmsLane, twilio and Any HTTP/s based Gateways are supported with Custom Gateway. Default Log gateway can be used for testing.

### Installation

[](#installation)

```
composer require tecdiary/sms
```

### Usage

[](#usage)

Prepare your `$config` for your sms gateways as below (refer to sampleConfig.php for your sms gateway requirements). Initialize class with config and start sending sms messages `$sms->send($mobile, $message);`.

```
use Tecdiary\Sms\Sms;

$config = [
    'gateway' => 'Log',
    'log' => [
        'path' => __DIR__ . '/logs/sms.log',
        'level' => 100
    ]
];

$sms = new Sms($config);
```

Send Single SMS:

```
$sms->send('+919090909090', 'This is sms body');
```

Send Multiple SMS:

```
$sms->send(['+60123456789', '+601111442122'], 'This is sms body');
```

Gateway Response:

```
$response = $sms->send(['+60123456789', '+601111442122'], 'This is sms body')->response();
```

### Gateways

[](#gateways)

Currently these gateways are supported

1. Bulksms
2. Clickatell
3. Gupshup
4. Infobip
5. Itexmo
6. Mocker
7. MVaayoo
8. Nexmo
9. SmsAchariya
10. Smsapi
11. SmsCountry
12. SmsLane
13. Twilio
14. Custom

Default Gateway: `Log`

### Custom Gateway

[](#custom-gateway)

Let us suppose you want to use any other gateway. Find the API URL with which SMS can be sent. For Example : `http://example.com/api/sms.php?uid=737262316a&pin=YOURPIN&sender=your_sender_id&route=0&mobile=8888888888&message=How are You&pushid=1`

Then you can setup the Config of Custom Gateway like this:

```
$config = [
  'gateway' => 'Custom',
  'Custom' => [
    'url' => 'http://example.com/api/sms.php?',
    'params' => [
      'send_to_name' => 'mobile',
      'msg_name' => 'message',
      'others' => [
        'uid' => '737262316a',
        'pin' => 'YOURPIN',
        'sender' => 'your_sender_id',
        'route' => '0',
        'pushid' => '1',
      ]
    ]
  ]
];
```

### Contributing

[](#contributing)

Any sort of contributions and/or feedback is much appreciated, specially if you have added any new gateway. Just leave an issue or pull-request!

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~27 days

Total

4

Last Release

2888d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/44e3b7b6e42a8e698922d64977776b1995334bb9a3c77fff44ced2a8f935eeee?d=identicon)[tecdiary](/maintainers/tecdiary)

---

Top Contributors

[![MianSaleem](https://avatars.githubusercontent.com/u/5428120?v=4)](https://github.com/MianSaleem "MianSaleem (5 commits)")

---

Tags

bulksmsclickatellgupshupinfobipmockermvaayoonexmosmssmsachariyasmsapismscountrysmslanetwiliotwilioInfobipsms-gatewayphp-smsnexmosmsapimockerclickatellbulksmsgupshupmvaayoosmsachariyasmscountrysmslaneCustom Sms

### Embed Badge

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

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

###  Alternatives

[softon/sms

Simple SMS Gateway Package for sending short text messages from your Application. Facade for Laravel 5.Currently supported Gateways Clickatell , MVaayoo, Gupshup, SmsAchariya, SmsCountry , SmsLane , Nexmo, Mocker / Any HTTP/s based Gateways are supported by Custom Gateway. Log gateway can be used for testing.

4929.5k](/packages/softon-sms)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)[simplesoftwareio/simple-sms

Simple-SMS is a package made for Laravel to send/receive (polling/pushing) text messages. Currently supports CalLFire, EZTexting, Email Gateways, FlowRoute, LabsMobile, Mozeo, Nexmo, Plivo, Twilio, and Zenvia

20845.7k5](/packages/simplesoftwareio-simple-sms)[prgayman/laravel-sms

Laravel package for sending SMS

124.8k](/packages/prgayman-laravel-sms)[alexgeno/phone-verification-laravel

A library for phone verification via Laravel notification channels. Any notification channel can be used as a sender, and Redis or MongoDB can be used as a storage.

112.4k](/packages/alexgeno-phone-verification-laravel)

PHPackages © 2026

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