PHPackages                             innoflash/za-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. innoflash/za-sms

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

innoflash/za-sms
================

An SMS package to handle SMS sending from South African providers

v1.0.6(5y ago)269MITPHP

Since Jan 16Pushed 5y ago2 watchersCompare

[ Source](https://github.com/innoflash/za-sms)[ Packagist](https://packagist.org/packages/innoflash/za-sms)[ RSS](/packages/innoflash-za-sms/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (8)Used By (0)

za-sms
======

[](#za-sms)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)![Travis](https://camo.githubusercontent.com/abce13238104bf3ba5aebb65e34f72fbd1f9ae49db375634a74f228a2a6b3339/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f696e6e6f666c6173682f7a612d736d732e7376673f7374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/2cc30679daf69d84a5f43f9079fc999620b3113175399d2b16d7606101660358/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e6e6f666c6173682f7a612d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/innoflash/za-sms)

Table of contents
-----------------

[](#table-of-contents)

- [Introduction](#introduction)
- [Installation](#install)
- [Usage](#usage)
    - [As notification](#use-as-a-notification)
    - [As a facade](#use-as-a-facade)
    - [Additional use](#additionally)
- [Contributing](#contributing)
- [Security](#security)
- [License](#license)

Introduction
------------

[](#introduction)

This package is aimed at creating a South African SMS package for for local SMS providers using their REST APIs. Below is a list of providers we currently integrated:

- [ZoomConnect](https://www.zoomconnect.com/)
- [WinSMS](https://www.winsms.co.za/)

Install
-------

[](#install)

`composer require innoflash/za-sms`

Usage
-----

[](#usage)

Once the package is installed you will need to set the provider in the `.ENV` file as follows:

```
ZA_SMS_PROVIDER={provider}
```

Available providers:

- [zoomconnect](./setups/zoomconnect.md)
- [winsms](./setups/winsms.md)

### Use as a notification

[](#use-as-a-notification)

za-sms supports being a driver for [Laravel Notification](https://laravel.com/docs/6.x/notifications)

- In the `Notifiable` class set your model phone number field by overriding this

```
    function routeNotificationForZasms($notification)
    {
        return $this->phone_number;
    }
```

- In the `Notification` class use the za-sms as follows

```
    public function via($notifiable)
    {
        return [ZaSMSChannel::class];
    }
```

- Then create the notification body as follows

```
    function toZaSMS($notifiable)
    {
        return (new ZaSMS)
            ->message('This is my message')
            ->sendAt(now()->addDays(2)) // for scheduling messegaes
            ->campaign('my campain'); //for message campaining
    }
```

### Use as a Facade

[](#use-as-a-facade)

At times you would want to send the SMS your own way so you can use the `ZaSMS` facade

```
    ZaSMS::setRecipientNumber('0651562779')
        ->setMessage('the facade message')
        ->sendMessage();

    //or

    ZaSMS::setMessageData([
        'recipientNumber' => '0027651562779',
        'message' => 'data message'
        ])->sendMessage();
```

### Additionally

[](#additionally)

You can also access the SMS Provider object using all available service container methods

```
    $provider = app()->make('za-sms');
    $provider = app()->make(SMSProviderContract::class);

    $provider = resolve('za-sms');
    $provider = resolve(SMSProviderContract::class);

    //or use dependency injection

    function myFunction(SMSProviderContract $provider){
        //todo use the provider
    }
```

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

[](#contributing)

- Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
- Add a provider using this [manual](./manual.md)

Security
--------

[](#security)

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

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

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

Recently: every ~106 days

Total

7

Last Release

1883d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8e29b914f8f1d668deae9012300d28e42e540dad3791f76eeb940a81e7447dd?d=identicon)[innoflash](/maintainers/innoflash)

---

Top Contributors

[![innoflash](https://avatars.githubusercontent.com/u/12772919?v=4)](https://github.com/innoflash "innoflash (28 commits)")

---

Tags

laravel sms packageSouth Africa SMSZA SMS packageZoomconnectWinSMSWinSMS package

### Embed Badge

![Health badge](/badges/innoflash-za-sms/health.svg)

```
[![Health](https://phpackages.com/badges/innoflash-za-sms/health.svg)](https://phpackages.com/packages/innoflash-za-sms)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

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

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[laravel-notification-channels/pusher-push-notifications

Pusher native Push Notifications driver.

282733.2k1](/packages/laravel-notification-channels-pusher-push-notifications)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.5M178](/packages/illuminate-broadcasting)

PHPackages © 2026

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