PHPackages                             namwansoft/yii2-sms-gateway - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. namwansoft/yii2-sms-gateway

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

namwansoft/yii2-sms-gateway
===========================

SMS Gateway For Yii2 Application

036PHP

Since Oct 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/NamwanSoftTH/Yii2-SmsGateway)[ Packagist](https://packagist.org/packages/namwansoft/yii2-sms-gateway)[ RSS](/packages/namwansoft-yii2-sms-gateway/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2-SmsGateway
===============

[](#yii2-smsgateway)

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

[](#installation)

```
composer require namwansoft/yii2-sms-gateway "@dev"

```

Usage
-----

[](#usage)

```
$arSms = (object) [
    'sender_name'   => '',
    'key_api'       => '',
    'key_secret'    => '',
    'OtpKey'        => '',
    'OtpSecret'     => '',
];
```

### ThaiBulkSms

[](#thaibulksms)

visit site [ThaiBulkSms](https://www.thaibulksms.com/)

```
$SmsGateway = new \namwansoft\SmsGateway\ThaiBulkSms($arSms);

$SmsGateway->setProxy('ip:port','user:pass');

$SmsGateway->credit();

$SmsGateway->Send('msisdn',['message' => 'message']);

$SmsGateway->OTP('msisdn');

$SmsGateway->OTPVerify('token', 'pin');
```

### SmsMKT

[](#smsmkt)

visit site [SmsMKT](https://smsmkt.com/)

```
$SmsGateway = new \namwansoft\SmsGateway\SmsMKT($arSms);

$SmsGateway->setProxy('ip:port','user:pass');

$SmsGateway->credit();

$SmsGateway->Send('msisdn',['message' => 'message']);

$SmsGateway->OTP('msisdn');

$SmsGateway->OTPVerify('token', 'pin');
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10220111?v=4)[namwansoft](/maintainers/namwansoft)[@namwansoft](https://github.com/namwansoft)

---

Top Contributors

[![NamwanSoftTH](https://avatars.githubusercontent.com/u/16820072?v=4)](https://github.com/NamwanSoftTH "NamwanSoftTH (20 commits)")

### Embed Badge

![Health badge](/badges/namwansoft-yii2-sms-gateway/health.svg)

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

###  Alternatives

[ihor/nspl

Non-standard PHP library (NSPL) - functional primitives toolbox and more

375369.6k](/packages/ihor-nspl)

PHPackages © 2026

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