PHPackages                             kgoofori/widepay-sms-notification - 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. kgoofori/widepay-sms-notification

ActiveLibrary

kgoofori/widepay-sms-notification
=================================

This package makes it easy to send SMS notifications using Widepaycash SMS API the laravel way

v1.0.3(4y ago)1428MITPHPPHP &gt;=7.2

Since Mar 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kgoofori/widepay-sms-notification)[ Packagist](https://packagist.org/packages/kgoofori/widepay-sms-notification)[ Docs](https://github.com/kgoofori/widepay-sms-notification.git)[ RSS](/packages/kgoofori-widepay-sms-notification/feed)WikiDiscussions master Synced yesterday

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

Widepaycash SMS Notification Channel
====================================

[](#widepaycash-sms-notification-channel)

This package makes it easy to send SMS notifications using [Widepaycash SMS](https://widepaycash.com) API the laravel way

Contents
--------

[](#contents)

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

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

[](#installation)

Install this package with Composer:

```
composer require kgoofori/widepay-sms-notification
```

### Setting up the FCM service

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

You need to register for a API id and key from Widepaycash for your application from here: [https://widepaycash.com/](https://widepaycash.com)

Once you've registered and generated ypu API id and key, add the API id and key to your configuration in `config/broadcasting.php`

```
'connections' => [
    ....
    'widepay_sms' => [
            'id' => env('WIDEPAY_ID', ''),
            'key' => env('WIDEPAY_KEY', ''),
        ]
    ...
]
```

Usage
-----

[](#usage)

You can now send SMS notifications via Widepay API by creating a `WidepaySmsMessage`:

```
...
use NotificationChannels\WidepaySms\WidepaySmsChannel;
use NotificationChannels\WidepaySms\WidepaySmsMessage;

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

    public function toWidepaySms($notifiable)
    {
        return (new WidepaySmsMessage)
            ->sender('WidepaySms')
            ->message('Testing message')
            ->recipient('23324XXXXXXX'); //optional if routeNotificationForWidepaySms() is set on notifiable model
    }
}
```

You may have to set a `routeNotificationForWidepaySms()` method in your notifiable model. For example:

```
class User extends Authenticatable
{
    use Notifiable;

    ....

    /**
     * Specifies the user's phone
     *
     * @return string
     */
    public function routeNotificationForWidepaySms()
    {
        return $this->phone;
    }
}
```

Once you have that in place, you can simply send a notification to the user via

```
$user->notify(new AccountActivated);
```

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.

Credits
-------

[](#credits)

- [Gideon Ofori](https://github.com/kgoofori/)

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

4

Last Release

1748d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46957625?v=4)[Gideon Ofori](/maintainers/kgoofori)[@kgoofori](https://github.com/kgoofori)

---

Top Contributors

[![kgoofori](https://avatars.githubusercontent.com/u/46957625?v=4)](https://github.com/kgoofori "kgoofori (9 commits)")

### Embed Badge

![Health badge](/badges/kgoofori-widepay-sms-notification/health.svg)

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

###  Alternatives

[laravel/slack-notification-channel

Slack Notification Channel for laravel.

89069.7M111](/packages/laravel-slack-notification-channel)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[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/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

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

PHPackages © 2026

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