PHPackages                             frdteknikelektro/smsgateway-me - 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. frdteknikelektro/smsgateway-me

ActiveLibrary

frdteknikelektro/smsgateway-me
==============================

SMSGatewayMe Notifications Channel for Laravel

v1.0.1(9y ago)11692MITPHPPHP &gt;=5.6.4

Since Oct 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/frdteknikelektro/smsgateway-me)[ Packagist](https://packagist.org/packages/frdteknikelektro/smsgateway-me)[ Docs](https://github.com/frdteknikelektro/smsgateway-me)[ RSS](/packages/frdteknikelektro-smsgateway-me/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Here's the latest documentation on Laravel 5.3 Notifications System:

SMSGatewayMe Notifications Channel for Laravel
==============================================

[](#smsgatewayme-notifications-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2b4290c6d829ed837bb29a6f9ceb524afd900b75ddc4d6ebcedd9e9b266cceab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66726474656b6e696b656c656b74726f2f736d73676174657761792d6d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/frdteknikelektro/smsgateway-me)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/25df70a6ba0e7eed1379ad97b85febf26c4167ed98de1aaf9b27caa6d407290d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f66726474656b6e696b656c656b74726f2f736d73676174657761792d6d652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/frdteknikelektro/smsgateway-me)[![StyleCI](https://camo.githubusercontent.com/768a6041e6d9e1d5da89e64c3e785631240f2736770dfa68d509c42a321135da/68747470733a2f2f7374796c6563692e696f2f7265706f732f3a7374796c655f63695f69642f736869656c64)](https://styleci.io/repos/:style_ci_id)[![SensioLabsInsight](https://camo.githubusercontent.com/7a395d7551140767a9f38f838e0e96b367bae56234402374185cd65ee8d795a1/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f3a73656e73696f5f6c6162735f69642e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/:sensio_labs_id)[![Quality Score](https://camo.githubusercontent.com/3162979f30cf2b42f36789c9eff28c43da4cac4ba630694dfb020b54d044e1d7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f66726474656b6e696b656c656b74726f2f736d73676174657761792d6d652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/frdteknikelektro/smsgateway-me)[![Code Coverage](https://camo.githubusercontent.com/a1c4d7a984144c15c22514444609618e84dd79283091f52dfcf6659fddb11d46/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f66726474656b6e696b656c656b74726f2f736d73676174657761792d6d652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/frdteknikelektro/smsgateway-me/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/83477e40e3f032115c7d29add24f6d529eaa9e96985f8356f56d49d5eb99a8cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66726474656b6e696b656c656b74726f2f736d73676174657761792d6d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/frdteknikelektro/smsgateway-me)

This package makes it easy to send notifications using [SMSGatewayMe](https://smsgateway.me) with Laravel 5.3.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the SMSGatewayMe service](#setting-up-the-SMSGatewayMe-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require frdteknikelektro/smsgateway-me
```

You must install the service provider:

```
// config/app.php
'providers' => [
    ...
    NotificationChannels\SMSGatewayMe\SMSGatewayMeServiceProvider::class,
],
```

### Setting up the SMSGatewayMe service

[](#setting-up-the-smsgatewayme-service)

Sign up on [SMSGatewayMe](https://smsgateway.me). Setting all needed, then add this to your config:

```
// config/services.php
...
'smsgateway-me' => [
    'email' => env('SMSGATEWAYME_EMAIL', 'email@example.com'),
    'password' => env('SMSGATEWAYME_PASSWORD', 'password'),
    'device_id' => env('SMSGATEWAYME_DEVICE_ID', '00000')
],
...
```

Usage
-----

[](#usage)

You can now use the channel in your `via()` method inside the Notification class.

```
use NotificationChannels\SMSGatewayMe\SMSGatewayMeChannel;
use NotificationChannels\SMSGatewayMe\SMSGatewayMeMessage;
use Illuminate\Notifications\Notification;

class InvoicePaid extends Notification
{
    public function via($notifiable)
    {
        return [SMSGatewayMeChannel::class];
    }

    public function toSmsGatewayMe($notifiable)
    {
        return (new SMSGatewayMeMessage)->text('Your invoice has been paid');
    }
}
```

### Routing a message

[](#routing-a-message)

You should add a `routeNotificationForSmsGatewayMe()` method in your notifiable model:

```
...
/**
 * Route notifications for the SMSGatewayMe channel.
 *
 * @return int
 */
public function routeNotificationForSmsGatewayMe()
{
    return $this->phone_number;
}
...
```

### Available methods

[](#available-methods)

- `text($text)`: (string) SMS Text.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

Before running a test please configure `routeNotificationForSmsGatewayMe()` and `sendDataProvider()` on [`test/Test.php`](test/Test.php)

```
$ composer test
```

This test will send Hello World SMS.

Security
--------

[](#security)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Farid Inawan](https://github.com/frdteknikelektro)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

3499d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4856bbafb70a46f14e078d91593d9117e564b4e025dce785efd0779915639972?d=identicon)[frdteknikelektro](/maintainers/frdteknikelektro)

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel/cashier-paddle

Cashier Paddle provides an expressive, fluent interface to Paddle's subscription billing services.

264778.4k3](/packages/laravel-cashier-paddle)

PHPackages © 2026

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