PHPackages                             misaf/laravel-sms-gateway-sunway - 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. misaf/laravel-sms-gateway-sunway

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

misaf/laravel-sms-gateway-sunway
================================

Sunway SMS gateway driver for Laravel.

v3.0.0(1mo ago)10MITPHPPHP ^8.3CI passing

Since Jul 3Pushed 1mo agoCompare

[ Source](https://github.com/misaf/laravel-sms-gateway-sunway)[ Packagist](https://packagist.org/packages/misaf/laravel-sms-gateway-sunway)[ Docs](https://github.com/misaf/laravel-sms-gateway-sunway)[ RSS](/packages/misaf-laravel-sms-gateway-sunway/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (9)Versions (5)Used By (0)

Laravel SMS Gateway Sunway Driver
=================================

[](#laravel-sms-gateway-sunway-driver)

Sunway SMS gateway driver for [`misaf/laravel-sms-gateway`](https://github.com/misaf/laravel-sms-gateway).

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

[](#installation)

```
composer require misaf/laravel-sms-gateway-sunway
```

Laravel package discovery registers the driver service provider automatically.

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

[](#configuration)

```
SMS_GATEWAY_DRIVER=sunway
SMS_GATEWAY_SUNWAY_USERNAME=your-username
SMS_GATEWAY_SUNWAY_PASSWORD=your-password
```

```
// config/services.php
'sunway' => [
    'username' => env('SMS_GATEWAY_SUNWAY_USERNAME'),
    'password' => env('SMS_GATEWAY_SUNWAY_PASSWORD'),
    'base_url' => env('SMS_GATEWAY_SUNWAY_BASE_URL', 'https://sms.sunwaysms.com/smsws/'),
],
```

Driver Behavior
---------------

[](#driver-behavior)

OptionValueDriver name`sunway`Default base URL`https://sms.sunwaysms.com/smsws/``send()` endpoint`GET HttpService.ashx`Authentication`UserName` and `Password` query parameters from `services.sunway.username` and `services.sunway.password`PayloadQuery parameters sent directly to SunwayUsage
-----

[](#usage)

```
use Misaf\LaravelSmsGateway\Facade\SmsGateway;

$response = SmsGateway::driver('sunway')->send([
    'method'  => 'SendSMS',
    'mobile'  => '09123456789',
    'message' => 'Hello, World!',
]);
```

The payload is passed directly to Sunway, so use the fields expected by the Sunway API.

Use `request()` when you need direct access to Laravel's HTTP client:

```
$request = SmsGateway::driver('sunway')->request();
```

Testing
-------

[](#testing)

```
composer test
composer analyse
```

License
-------

[](#license)

MIT

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance91

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.6% 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 ~0 days

Total

2

Last Release

46d ago

Major Versions

v1.0.0 → v3.0.02026-07-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/41fd7351d25e29dafa18068d0418eecf6bb47a7473aabe6bc674b4ca35e71805?d=identicon)[misaf](/maintainers/misaf)

---

Top Contributors

[![misaf](https://avatars.githubusercontent.com/u/8195685?v=4)](https://github.com/misaf "misaf (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

laravellaravel-packagesmssms apisms-gatewaysms providersms driversunwaysunway-sms

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/misaf-laravel-sms-gateway-sunway/health.svg)

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

###  Alternatives

[djunehor/laravel-sms

Send SMS from your laravel application

395.9k1](/packages/djunehor-laravel-sms)

PHPackages © 2026

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