PHPackages                             tahamohamed/smsgateway - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. tahamohamed/smsgateway

ActiveLibrary[HTTP &amp; Networking](/categories/http)

tahamohamed/smsgateway
======================

Send SMS using multiple SMS gateways

v1.3(4y ago)818MITPHPPHP ^7.1|^8.0

Since Feb 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/TahaMohamed/sms-gateways)[ Packagist](https://packagist.org/packages/tahamohamed/smsgateway)[ Docs](https://github.com/TahaMohamed/smsgateway)[ RSS](/packages/tahamohamed-smsgateway/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (8)Used By (0)

SMSGateway
==========

[](#smsgateway)

Send SMS using multiple gateways like(hisms, smsGateway, netPowers, ...).

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

[](#installation)

### Via Composer

[](#via-composer)

```
composer require tahamohamed/smsgateway

```

Then create config file named `smsgateway.php` in `config` directory or you can use

```
php artisan vendor:publish --tag=smsgateway.config

```

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

[](#configuration)

You need to add credentials of gateway(s) in `smsgateway.php` file that will use.

```
return [
    /*
    |--------------------------------------------------------------------------
    | hisms App Credentials
    |--------------------------------------------------------------------------
    |
    |
    */
    'hisms' => [
        'username' => env('SMS_HISMS_USERNAME',''),
        'password' => env('SMS_HISMS_PASSWORD',''),
        'sender' => env('SMS_HISMS_SENDER','')
    ],
    /*
    |--------------------------------------------------------------------------
    | netpowers App Credentials
    |--------------------------------------------------------------------------
    |
    |
    */
    'netpowers' => [
        'username' => env('SMS_NETPOWERS_USERNAME',''),
        'password' => env('SMS_NETPOWERS_PASSWORD',''),
        'sender' => env('SMS_NETPOWERS_SENDER','')
    ],
    /*
    |--------------------------------------------------------------------------
    | smsgateway App Credentials
    |--------------------------------------------------------------------------
    |
    |
    */
    'smsgateway' => [
        'username' => env('SMS_SMSGATEWAY_USERNAME',''),
        'password' => env('SMS_SMSGATEWAY_PASSWORD',''),
        'sender' => env('SMS_SMSGATEWAY_SENDER','')
    ],
];
```

Usage
-----

[](#usage)

```
# returns 'gateway config'
$gateway_sms = AppGateway::to(96651111111111)
    // Or NetPowers::to(), Hisms::to()
    // Or Add Multiple Numbers
    ->to([96650000000,96659999999])
    ->addDatetime(['date' => date('Y-m-d'), 'time' => date('H:i')])
    ->addMessage('asd asd asd');

# returns 'response from gateway'
$response = SMSGateway::send($gateway_sms);
```

### Hisms

[](#hisms)

Please see [Hisms docs](https://www.hisms.ws/uploads/api.pdf) for more details.

```
# returns 'gateway config'
$gateway_sms = Hisms::changePassword('new_password');
// Or Hisms::forgetPassword();
// Or Hisms::deleteScheduleSMS();
// Or Hisms::getBalance();

# returns 'response from gateway'
$response = SMSGateway::send($gateway_sms);
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

MIT. Please see the [MIT](https://choosealicense.com/licenses/mit/) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Every ~2 days

Total

4

Last Release

1530d ago

PHP version history (2 changes)V1.0PHP &gt;=5.5.9

v1.1PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/716c80e0da3fbd93219aacdaeef5ecd3915fe10cffe2043865d5037b5bb5fcc4?d=identicon)[Taha Mohamed](/maintainers/Taha%20Mohamed)

---

Top Contributors

[![TahaMohamed](https://avatars.githubusercontent.com/u/12687015?v=4)](https://github.com/TahaMohamed "TahaMohamed (2 commits)")

---

Tags

hismslaravelnet-powerphpsmssms-gatewaylaravelsmssmsgatewayhismsnetpowers

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tahamohamed-smsgateway/health.svg)

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

###  Alternatives

[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)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)

PHPackages © 2026

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