PHPackages                             marqu3s/yii2-nrsgateway - 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. marqu3s/yii2-nrsgateway

ActiveYii2-extension

marqu3s/yii2-nrsgateway
=======================

Yii2 NRSGateway extension.

0110PHP

Since Aug 1Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Framework NRSGateway extension.
====================================

[](#yii2-framework-nrsgateway-extension)

[Yii2 Framework website](http://www.yiiframework.com)

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

[](#installation)

### Composer

[](#composer)

The preferred way to install this extension is through [Composer](http://getcomposer.org/).

Either run

```
php composer.phar require marqu3s/yii2-nrsgateway "dev"

```

or add

```
"marqu3s/yii2-nrsgateway": "dev"

```

to the require section of your composer.json

Usage
-----

[](#usage)

Add to main.php components section:

```
[
    'components' => [
        ...
        'sms' => [
            'class' => 'marqu3s\nrsgateway\YiiSMSService',
            'username' => 'theUsername',
            'password' => 'thePassword'
        ],
        ...
    ]
]
```

and use it:

```
$nrs = Yii::$app->sms->nrs;
$nrs->to   = ['xxxxxxxxxxxxx', 'yyyyyyyyyyyyy'];
$nrs->from = 'Sender';
$nrs->msg  = 'This is a test message.';
$result = $nrs->send();
```

Check $result variable for errors.

Original Author
---------------

[](#original-author)

[João Marques](https://github.com/marqu3s/), e-mail:

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a79c68a3e0b34ad46bf9a68c697b635521d0483b727b02c28f4d6a7e38337e55?d=identicon)[marqu3s](/maintainers/marqu3s)

---

Top Contributors

[![marqu3s](https://avatars.githubusercontent.com/u/2284983?v=4)](https://github.com/marqu3s "marqu3s (6 commits)")

### Embed Badge

![Health badge](/badges/marqu3s-yii2-nrsgateway/health.svg)

```
[![Health](https://phpackages.com/badges/marqu3s-yii2-nrsgateway/health.svg)](https://phpackages.com/packages/marqu3s-yii2-nrsgateway)
```

PHPackages © 2026

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