PHPackages                             nuwira/smsgw - 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. [API Development](/categories/api)
4. /
5. nuwira/smsgw

ActiveLibrary[API Development](/categories/api)

nuwira/smsgw
============

Nuwira SMS API client library

4.2.1(6y ago)0346[1 issues](https://github.com/Nuwira/smsgw/issues)[1 PRs](https://github.com/Nuwira/smsgw/pulls)1PHPCI failing

Since Dec 30Pushed 6y ago6 watchersCompare

[ Source](https://github.com/Nuwira/smsgw)[ Packagist](https://packagist.org/packages/nuwira/smsgw)[ RSS](/packages/nuwira-smsgw/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (5)Versions (23)Used By (1)

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

[](#installation)

```
composer require nuwira/smsgw
```

[Version 3.0](https://github.com/Nuwira/smsgw/tree/v3) is for old API. For new API, use version 4.0 (latest).

[Version 2.0](https://github.com/Nuwira/smsgw/tree/v2) has been deprecated. Please don't use the version 2.0 or below.

Configuration
-------------

[](#configuration)

### Laravel version &gt;= 5.5

[](#laravel-version--55)

Nothing to do. This package use package auto-discovery feature.

### Laravel version &lt; 5.5

[](#laravel-version--55-1)

Open `config/app.php` add these lines:

```
'providers' => [
	Nuwira\Smsgw\SmsServiceProvider::class,
];

'aliases' => [
	'SMS' => Nuwira\Smsgw\SmsFacade::class,
];
```

Publish Config
--------------

[](#publish-config)

```
php artisan vendor:publish
```

Open your `.env` file or `config/sms.php` and add your URL and API Key.

Usage
-----

[](#usage)

### Auth

[](#auth)

```
SMS::auth($username, $password);
```

### Profile

[](#profile)

```
SMS::profile();
```

### Send Bulk SMS

[](#send-bulk-sms)

```
$bulk = [
	[
		'to' => $number,
		'message' => $message,
	]
];
SMS::bulk($bulk);
```

### Send Single SMS

[](#send-single-sms)

```
SMS::send($to_number, $message);
```

### Check Credit

[](#check-credit)

```
SMS::credit();
```

### Get Received (Inbox)

[](#get-received-inbox)

```
SMS::received($startDate, $endDate, $search, $page);
```

### Get Detailed Received SMS (Inbox)

[](#get-detailed-received-sms-inbox)

```
SMS::receivedId($id);
```

### Get Sent (Outbox)

[](#get-sent-outbox)

```
SMS::sent($startDate, $endDate, $status, $search, $page);
```

### Get Detailed Sent SMS (Outbox)

[](#get-detailed-sent-sms-outbox)

```
SMS::sentId($id);
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 71.2% 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 ~74 days

Recently: every ~145 days

Total

22

Last Release

2275d ago

Major Versions

1.6 → 2.02016-08-02

2.5 → 3.02018-01-17

v3.x-dev → 4.02018-09-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/809de97d088b0eff358f96141a31bd8897216a03175448192de140f2723bdea6?d=identicon)[matriphe](/maintainers/matriphe)

---

Top Contributors

[![matriphe](https://avatars.githubusercontent.com/u/277262?v=4)](https://github.com/matriphe "matriphe (37 commits)")[![amalinakurniasari](https://avatars.githubusercontent.com/u/17194988?v=4)](https://github.com/amalinakurniasari "amalinakurniasari (11 commits)")[![cheanizer](https://avatars.githubusercontent.com/u/916323?v=4)](https://github.com/cheanizer "cheanizer (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nuwira-smsgw/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1232.2k16](/packages/fleetbase-core-api)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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