PHPackages                             kssadi/sslwirelesssms - 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. kssadi/sslwirelesssms

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

kssadi/sslwirelesssms
=====================

A Laravel package to integrate SSL Wireless SMS service.

1.1.0(1y ago)7261MITPHPPHP ^8.0

Since Sep 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/KsSadi/SSLWirelessSMS)[ Packagist](https://packagist.org/packages/kssadi/sslwirelesssms)[ Docs](https://github.com/kssadi/sslwirelesssms)[ RSS](/packages/kssadi-sslwirelesssms/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

[![SSL Wireless SMS Laravel Package](/image/ssl-wireless-banner.png)](https://github.com/KsSadi/SSLWirelessSMS)**SSL Wireless SMS Laravel Package**
====================================

[](#ssl-wireless-sms-laravel-package)

---

A Laravel package for integrating SSL Wireless SMS service into your Laravel applications. Easily send single, bulk, and dynamic SMS messages using this package.

[![GitHub Repo stars](https://camo.githubusercontent.com/e676e282f05af6915a6920b1846b62afe37b4f5b8f51691942915e7805cab5f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f4b73536164692f53534c576972656c657373534d532e737667)](https://camo.githubusercontent.com/e676e282f05af6915a6920b1846b62afe37b4f5b8f51691942915e7805cab5f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f4b73536164692f53534c576972656c657373534d532e737667)[![Downloads](https://camo.githubusercontent.com/8b7ed682f0d02f440ee23551e30a9ca34313c8de4a2970887eab690bf73ffa60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b73736164692f73736c776972656c657373736d73)](https://packagist.org/packages/kssadi/sslwirelesssms)[![GitHub license](https://camo.githubusercontent.com/22abfc0348daed03675fb9c4f27e88f3f93ce0614955eae526df2ec6fcc76f24/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4b73536164692f53534c576972656c657373534d532e737667)](https://camo.githubusercontent.com/22abfc0348daed03675fb9c4f27e88f3f93ce0614955eae526df2ec6fcc76f24/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4b73536164692f53534c576972656c657373534d532e737667)[![GitHub top language](https://camo.githubusercontent.com/8fba30edc08ab728cc8ee2349fd695709aaf076449ac2d72a153793f78a59710/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f4b73536164692f53534c576972656c657373534d532e737667)](https://camo.githubusercontent.com/8fba30edc08ab728cc8ee2349fd695709aaf076449ac2d72a153793f78a59710/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f4b73536164692f53534c576972656c657373534d532e737667)[![Packagist Version](https://camo.githubusercontent.com/811b28061b805919fb910251ecc73fc66c8aab6e23de6dc8023b52a9380b87b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b73736164692f73736c776972656c657373736d732e737667)](https://camo.githubusercontent.com/811b28061b805919fb910251ecc73fc66c8aab6e23de6dc8023b52a9380b87b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b73736164692f73736c776972656c657373736d732e737667)

Features
========

[](#features)

- **Single SMS:** Send a single SMS message to a phone number.
- **Bulk SMS:** Send SMS messages to multiple phone numbers in a single request.
- **Dynamic SMS:** Send SMS messages dynamically with varying content.

Table of Contents
=================

[](#table-of-contents)

- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Author](#author)
- [Contributing](#contributing)
- [License](#license)

Requirements
============

[](#requirements)

- PHP &gt;= 8.0
- Laravel &gt;= 10

Installation
============

[](#installation)

1. ### **Install the package via Composer:**

    [](#install-the-package-via-composer)

    ```
    composer require kssadi/sslwirelesssms
    ```
2. ### **Publish the configuration file:**

    [](#publish-the-configuration-file)

    ```
    php artisan vendor:publish --provider="KsSadi\SSLWirelessSMS\SSLWirelessSMSServiceProvider" --tag="config"
    ```

    This will publish the `sslwireless.php` configuration file to your `config` directory.

Configuration
=============

[](#configuration)

Add your SSL Wireless SMS credentials to the `config/sslwireless.php` file

```
return [
    'api_token' => env('SSLWIRELESS_API_TOKEN', ''),
    'sid' => env('SSLWIRELESS_SID', ''),
    'domain' => env('SSLWIRELESS_DOMAIN', 'https://smsplus.sslwireless.com'),
    'message_type' => env('SSLWIRELESS_MESSAGE_TYPE', 'EN'),
];
```

Add these values to your `.env` file:

```
SSLWIRELESS_API_TOKEN=your_api_token
SSLWIRELESS_SID=your_sid
```

Usage
=====

[](#usage)

With this package, you can send single, bulk, or dynamic SMS messages using a unified method sendSms(). This method simplifies the process by handling all types of SMS through a single function. If you prefer, you can also use separate methods for each type of SMS.

Unified SMS Sending
-------------------

[](#unified-sms-sending)

The `sendSms()` method allows you to send different types of SMS with a single function, depending on the data you provide:

**Single SMS:** Send a single SMS message to one phone number.
**Bulk SMS:** Send the same SMS message to multiple phone numbers.
**Dynamic SMS:** Send different SMS messages to multiple phone numbers.

### `Example: Sending Single SMS`

[](#example-sending-single-sms)

```
use KsSadi\SSLWirelessSMS\Facades\SSLWirelessSMS;

$response = SSLWirelessSMS::sendSms([
'phoneNumber' => '1234567890',
'messageBody' => 'Hello World'
], 'txn123');
```

### `Example: Sending Bulk SMS`

[](#example-sending-bulk-sms)

```
use KsSadi\SSLWirelessSMS\Facades\SSLWirelessSMS;

$response = SSLWirelessSMS::sendSms([
    'phoneNumbers' => ['1234567890', '0987654321'],
    'messageBody' => 'Hello, this is a test message for bulk SMS.'
], 'batch123');
```

### `Example: Sending Dynamic SMS`

[](#example-sending-dynamic-sms)

```
use KsSadi\SSLWirelessSMS\Facades\SSLWirelessSMS;

$response = SSLWirelessSMS::sendSms([
    'messages' => [
        ['phoneNumber' => '1234567890', 'message' => 'Hello, User 1!', 'sms_id' => 'sms1'],
        ['phoneNumber' => '0987654321', 'message' => 'Hello, User 2!', 'sms_id' => 'sms2']
    ]
]);
```

Separate Methods
----------------

[](#separate-methods)

If you prefer to use separate methods for each type of SMS, you can do so as follows:

**`sendSingleSms()`:** Send a single SMS message.
**`sendBulkSms()`:** Send SMS messages to multiple phone numbers.
**`sendDynamicSms()`:** Send different SMS messages to multiple phone numbers.

### `Example: Sending Single SMS`

[](#example-sending-single-sms-1)

```
use KsSadi\SSLWirelessSMS\Facades\SSLWirelessSMS;

$response = SSLWirelessSMS::sendSingleSms('1234567890', 'Hello, world!', 'TX123');
```

### `Example: Sending a Bulk SMS`

[](#example-sending-a-bulk-sms)

```
use KsSadi\SSLWirelessSMS\Facades\SSLWirelessSMS;

$phoneNumbers = ['1234567890', '0987654321'];
$response = SSLWirelessSMS::sendBulkSms($phoneNumbers, 'Hello, world!', 'TX123');
```

### `Example: Sending a Dynamic SMS`

[](#example-sending-a-dynamic-sms)

```
use KsSadi\SSLWirelessSMS\Facades\SSLWirelessSMS;

$messageData = [
    [
        'phone_number' => '1234567890',
        'message' => 'Hello, John!',
        "sms_id" => uniqid() //must be unique
    ],
    [
        'phone_number' => '0987654321',
        'message' => 'Hello, Jane!',
        "sms_id" => uniqid() //must be unique
    ]
];

$response = SSLWirelessSMS::sendDynamicSms($messageData);
```

Author
------

[](#author)

**Name:** Khaled Saifullah Sadi
**Email:**

[![Buy Me a Coffee](https://camo.githubusercontent.com/122118dbd9f4042f983d7c1d4e6e9c3b153cf2b84f1369a7a0c304a47cf6603d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4275792532304d6525323061253230436f666665652d6f72616e67653f7374796c653d666c6174266c6f676f3d6275792d6d652d612d636f66666565)](https://www.buymeacoffee.com/kssadi)

### Social Handles

[](#social-handles)

[![LinkedIn](https://camo.githubusercontent.com/6bf10419707a3cc04c08af732dbd8d9d3ec4eb37705fca6db63de06127f05957/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c696e6b6564496e2d2532333030373742352e7376673f267374796c653d666f722d7468652d6261646765266c6f676f3d6c696e6b6564696e266c6f676f436f6c6f723d7768697465 "LinkedIn")](https://www.linkedin.com/in/kssadi/)[![Facebook](https://camo.githubusercontent.com/9c21c3cd69202c4c63348e18895e4f41175ff5efa3b781193ed8b9a8ab80712a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d46616365626f6f6b2d3144413146323f7374796c653d666f722d7468652d6261646765266c6f676f3d66616365626f6f6b266c6f676f436f6c6f723d7768697465 "Facebook")](https://facebook.com.com/mdsadi100)[![Instagram](https://camo.githubusercontent.com/9c67a6cb01a9d8dd30e80999530a015bc7c4e276015b4cae25cc8117c822ab16/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d496e7374616772616d2d4331333538343f7374796c653d666f722d7468652d6261646765266c6f676f3d696e7374616772616d266c6f676f436f6c6f723d7768697465 "Instagram")](https://insta.com/Ks.Sadi)[![Twitter](https://camo.githubusercontent.com/781f62127f00bcebf6121bd14cd08f9fdd046358695cfb367bde418cf6d86f17/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d547769747465722d3144413146323f7374796c653d666f722d7468652d6261646765266c6f676f3d74776974746572266c6f676f436f6c6f723d7768697465 "Twitter")](https://twitter.com/Ks.Sadi)[![Github](https://camo.githubusercontent.com/df608e1282cdaba4c325e541df29efd6e82cfe1b8438e58659dc8500329df484/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6769746875622d2532333332333333302e7376673f267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6f676f436f6c6f723d253233463744463145 "Github")](https://github.com/KsSadi)

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

[](#contributing)

Please feel free to contribute to this package and submit a pull request.

License
-------

[](#license)

This package is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

### Key Sections:

[](#key-sections)

- **Features:** Highlights the capabilities of the package.
- **Table of Contents:** Provides an overview for easy navigation.
- **Installation:** Instructions to install the package.
- **Configuration:** Details on setting up configuration.
- **Usage:** Examples of how to use the package functions.
- **Testing:** Instructions for running tests.
- **Author:** Information about the package author.
- **Contributing:** Guidelines for contributing to the project.
- **License:** Information about the package's licensing.

Feel free to adjust the content as needed based on your specific use cases or additional features.

Copyright 2024 Khaled Saifullah Sadi

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance42

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

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

Total

2

Last Release

609d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40826351?v=4)[Khaled Saifullah Sadi](/maintainers/KsSadi)[@KsSadi](https://github.com/KsSadi)

---

Top Contributors

[![KsSadi](https://avatars.githubusercontent.com/u/40826351?v=4)](https://github.com/KsSadi "KsSadi (25 commits)")

---

Tags

sslwirelessSSLWireless SMSSSLWireless SMS LaravelSSLWireless SMS for LaravelSSLWireless Bulk SMS

### Embed Badge

![Health badge](/badges/kssadi-sslwirelesssms/health.svg)

```
[![Health](https://phpackages.com/badges/kssadi-sslwirelesssms/health.svg)](https://phpackages.com/packages/kssadi-sslwirelesssms)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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