Download the PHP package kssadi/sslwirelesssms without Composer
On this page you can find all versions of the php package kssadi/sslwirelesssms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kssadi/sslwirelesssms
More information about kssadi/sslwirelesssms
Files in kssadi/sslwirelesssms
Package sslwirelesssms
Short Description A Laravel package to integrate SSL Wireless SMS service.
License MIT
Homepage https://github.com/kssadi/sslwirelesssms
Informations about the package sslwirelesssms
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.
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
- Installation
- Configuration
- Usage
- Author
- Contributing
- License
Requirements
- PHP >= 8.0
- Laravel >= 10
Installation
-
Install the package via Composer:
bash php artisan vendor:publish --provider="KsSadi\SSLWirelessSMS\SSLWirelessSMSServiceProvider" --tag="config" bash SSLWIRELESS_API_TOKEN=your_api_token SSLWIRELESS_SID=your_sid
bash use KsSadi\SSLWirelessSMS\Facades\SSLWirelessSMS;
$response = SSLWirelessSMS::sendSms([ 'phoneNumber' => '1234567890', 'messageBody' => 'Hello World' ], 'txn123');
bash use KsSadi\SSLWirelessSMS\Facades\SSLWirelessSMS;
$response = SSLWirelessSMS::sendSms([ 'phoneNumbers' => ['1234567890', '0987654321'], 'messageBody' => 'Hello, this is a test message for bulk SMS.' ], 'batch123');
bash 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
If you prefer to use separate methods for each type of SMS, you can do so as follows:
**`sendSingleSms()`:** Send a single SMS message. <br>
**`sendBulkSms()`:** Send SMS messages to multiple phone numbers. <br>
**`sendDynamicSms()`:** Send different SMS messages to multiple phone numbers. <br>
### `Example: Sending Single SMS`
### `Example: Sending a Bulk SMS`
### `Example: Sending a Dynamic SMS`
## Author
**Name:** Khaled Saifullah Sadi
**Email:** [[email protected]](mailto:[email protected]) <br>
[](https://www.buymeacoffee.com/kssadi)
### Social Handles
<p align="center">
<a href="https://www.linkedin.com/in/kssadi/" target="_blank"><img alt="LinkedIn" title="LinkedIn" src="https://img.shields.io/badge/LinkedIn-%230077B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white"/>
</a>
<a href="https://facebook.com.com/mdsadi100" target="_blank"><img alt="Facebook" title="Facebook" src="https://img.shields.io/badge/-Facebook-1DA1F2?style=for-the-badge&logo=facebook&logoColor=white"/>
<a href="https://insta.com/Ks.Sadi" target="_blank"><img alt="Instagram" title="Instagram" src="https://img.shields.io/badge/-Instagram-C13584?style=for-the-badge&logo=instagram&logoColor=white"/>
<a href="https://twitter.com/Ks.Sadi" target="_blank"><img alt="Twitter" title="Twitter" src="https://img.shields.io/badge/-Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white"/>
</a>
<a href="https://github.com/KsSadi" target="_blank"><img alt="Github" title="Github" src="https://img.shields.io/badge/github-%23323330.svg?&style=for-the-badge&logo=github&logoColor=%23F7DF1E"/>
</a>
</p>
## Contributing
Please feel free to contribute to this package and submit a pull request.
## License
This package is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).
### 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]()