PHPackages                             shipper/laravel-winsms-channel - 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. shipper/laravel-winsms-channel

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

shipper/laravel-winsms-channel
==============================

Laravel notification channel for WinSMS API

v1.1.4(2y ago)032.6k↓20.6%1[1 PRs](https://github.com/Bilinx-solutions/laravel-winsms-channel/pulls)PHPPHP ^7.2|^8.0

Since Mar 9Pushed 2y agoCompare

[ Source](https://github.com/Bilinx-solutions/laravel-winsms-channel)[ Packagist](https://packagist.org/packages/shipper/laravel-winsms-channel)[ RSS](/packages/shipper-laravel-winsms-channel/feed)WikiDiscussions main Synced 1mo ago

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

Laravel WinSMS notification channel
===================================

[](#laravel-winsms-notification-channel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b4d215185b7519b6b11ff41ee9c122fc3dc74d55623c77b92b13c77be0bd7067/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736869707065722f6c61726176656c2d77696e736d732d6368616e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shipper/laravel-winsms-channel)[![Total Downloads](https://camo.githubusercontent.com/704c35abed7b11bf8b002e228c16085df7da4c1f020d7e0456aba59f03fdc323/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736869707065722f6c61726176656c2d77696e736d732d6368616e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shipper/laravel-winsms-channel)

A Laravel Notification Channel to send sms notification to your users in Tunisia using WinSMS. More details here .

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

[](#installation)

You can install the package via composer:

```
composer require shipper/laravel-winsms-channel
```

You can publish configuration file using:

```
php  artisan vendor:publish --provider="Shipper\WinSMS\WinSMSServiceProvider"
```

Usage
-----

[](#usage)

First, you need to create have an active winsms account. Go to  and create one. Once you have access to your account, you'll need to get your `API KEY`. These credentials will be used to communicate with Win SMS API. Go to

Finally, add a new service in your `config/service.php` file.

```
// file: config/winsms.php

return [
    'api_key' => env('WINSMS_API_KEY', ''),
    'sender_id' => env('WINSMS_SENDER_ID', ''),
];
```

### Configure your notification

[](#configure-your-notification)

In your notification class, add the WinSMS Channel in the via method and create a `toWinSMS` method.

```
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Shipper\WinSMS\WinSMSChannel;
use Shipper\WinSMS\WinSMSMessage;

class ConfirmationNotification extends Notification
{
    use Queueable;

    /**
     * Get the notification's delivery channels.
     *
     * @param mixed $notifiable
     * @return array
     */
    public function via($notifiable)
    {
        return [WinSMSChannel::class];
    }

    // ...others method here

     /**
     * Send sms using WinSMS API
     *
     * @param mixed $notifiable
     * @return array
     */
    public function toWinSMS($notifiable):WinSMSMessage
    {
        return (new WinSMSMessage())
            ->to($notifiable->phone_number)
            ->from('MyApp')
            ->content('Your account has been created successfully');
    }
}
```

### Available Message methods

[](#available-message-methods)

- `to` (the receiver phone number)
- `from` (the sender phone number)
- `content` (the actual text message)

### Using Facade

[](#using-facade)

You can also use the facade to send sms notification.

```
use Shipper\WinSMS\Facades\WinSMS;

WinSMS::sendSMS('216XXXXXXXX', 'MyApp', 'Your account has been created successfully');
```

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

Popularity28

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

801d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3294b3182bc3eda1e66a9ff1413e393f0697a958edc015a7ad20bfb7a239b9b6?d=identicon)[racem](/maintainers/racem)

---

Top Contributors

[![racemshipper](https://avatars.githubusercontent.com/u/67289624?v=4)](https://github.com/racemshipper "racemshipper (11 commits)")

### Embed Badge

![Health badge](/badges/shipper-laravel-winsms-channel/health.svg)

```
[![Health](https://phpackages.com/badges/shipper-laravel-winsms-channel/health.svg)](https://phpackages.com/packages/shipper-laravel-winsms-channel)
```

###  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)
