PHPackages                             laravel-notification-channels/touch-sms - 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. laravel-notification-channels/touch-sms

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

laravel-notification-channels/touch-sms
=======================================

Touch SMS Notification Channel For Laravel

2.1.0(1y ago)51.4k↓33.3%MITPHPPHP &gt;=8.2CI failing

Since Feb 22Pushed 1y ago3 watchersCompare

[ Source](https://github.com/laravel-notification-channels/touch-sms)[ Packagist](https://packagist.org/packages/laravel-notification-channels/touch-sms)[ Docs](https://github.com/laravel-notification-channels/touch-sms)[ RSS](/packages/laravel-notification-channels-touch-sms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

TouchSMS Notification Channel
=============================

[](#touchsms-notification-channel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b834ea9ab0650e25e744436018c0bc65b3d0188b1063f4b5f7b6457bb5dfd8cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f746f7563682d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/touch-sms)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/54bd0394e49ebd6ca2095d64c5586a0b18ff477c005bf3924713b57f3b41d8fa/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f746f7563682d736d732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laravel-notification-channels/touch-sms)[![StyleCI](https://camo.githubusercontent.com/e838d158007624ad28bb69514939f166c4d959588dad7ce8648cf879c931398b/68747470733a2f2f7374796c6563692e696f2f7265706f732f3333393839323230342f736869656c64)](https://styleci.io/repos/339892204)[![Total Downloads](https://camo.githubusercontent.com/01ccc411b61031258680af588ad58212dd13d2e17676cf502a515b1e1f307c12/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f746f7563682d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/touch-sms)

📲 [TouchSMS](https://touchsms.com.au) Notifications Channel for Laravel

Contents
--------

[](#contents)

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

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

[](#installation)

```
composer require laravel-notification-channels/touch-sms
```

Add the configuration to your `services.php` config file:

```
'touchsms' => [
    'token_id' => env('TOUCHSMS_TOKEN_ID'),
    'access_token' => env('TOUCHSMS_ACCESS_TOKEN'),
    'default_sender' => env('TOUCHSMS_DEFAULT_SENDER', null),
]
```

### Setting up the TouchSms service

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

You'll need a TouchSMS account. Head over to their [website](https://www.touchsms.com.au/) and create or login to your account.

Head to `Settings` and then `API keys` in the sidebar to generate a set of API keys.

Usage
-----

[](#usage)

You can use the channel in your `via()` method inside the notification:

```
use Illuminate\Notifications\Notification;
use \NotificationChannels\TouchSms\TouchSmsMessage;
use \NotificationChannels\TouchSms\TouchSmsChannel;

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

    public function toTouchsms($notifiable)
    {
        return (new TouchSmsMessage)
            ->content("Task #{$notifiable->id} is complete!");
    }
}
```

In your notifiable model, make sure to include a `routeNotificationForTouchsms()` method, which returns an australian or new zeland phone number in the international format.

```
public function routeNotificationForTouchsms()
{
    return $this->phone; // 6142345678
}
```

### Available methods

[](#available-methods)

`sender()`: Sets the sender's name or phone number.

`content()`: Set a content of the notification message.

`reference()`: Set the SMS reference code (included with replies/delivery receipt callbacks)

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
$ composer test
```

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)

- [TouchSms](https://github.com/touchsms)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance44

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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 ~366 days

Total

5

Last Release

439d ago

Major Versions

1.1.0 → 2.0.02024-02-17

PHP version history (2 changes)1.0.0PHP &gt;=7.2

2.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20937037?v=4)[Laravel Notification Channels](/maintainers/laravel-notification-channels)[@laravel-notification-channels](https://github.com/laravel-notification-channels)

---

Top Contributors

[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laravel-notification-channels-touch-sms/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-notification-channels-touch-sms/health.svg)](https://phpackages.com/packages/laravel-notification-channels-touch-sms)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

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

Web Push Notifications driver for Laravel.

7984.5M16](/packages/laravel-notification-channels-webpush)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[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/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)

PHPackages © 2026

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