Download the PHP package tecdiary/sms without Composer
On this page you can find all versions of the php package tecdiary/sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package sms
Short Description Simple SMS Gateway Package for sending short text messages. Currently Bulksms, Clickatell, Gupshup, Infobip, Itexmo, Mocker, MVaayoo, Nexmo, SmsAchariya, Smsapi, SmsCountry, SmsLane, twilio and Any HTTP/s based Gateways are supported with Custom Gateway. Default Log gateway can be used for testing.
License MIT
Informations about the package sms
sms
Simple SMS Gateway Package for sending short text messages. Currently Bulksms, Clickatell, Gupshup, Infobip, Itexmo, Mocker, MVaayoo, Nexmo, SmsAchariya, Smsapi, SmsCountry, SmsLane, twilio and Any HTTP/s based Gateways are supported with Custom Gateway. Default Log gateway can be used for testing.
Installation
Usage
Prepare your $config
for your sms gateways as below (refer to sampleConfig.php for your sms gateway requirements). Initialize class with config and start sending sms messages $sms->send($mobile, $message);
.
Send Single SMS:
Send Multiple SMS:
Gateway Response:
Gateways
Currently these gateways are supported
- Bulksms
- Clickatell
- Gupshup
- Infobip
- Itexmo
- Mocker
- MVaayoo
- Nexmo
- SmsAchariya
- Smsapi
- SmsCountry
- SmsLane
- Twilio
- Custom
Default Gateway: Log
Custom Gateway
Let us suppose you want to use any other gateway. Find the API URL with which SMS can be sent.
For Example : http://example.com/api/sms.php?uid=737262316a&pin=YOURPIN&sender=your_sender_id&route=0&mobile=8888888888&message=How are You&pushid=1
Then you can setup the Config of Custom Gateway like this:
Contributing
Any sort of contributions and/or feedback is much appreciated, specially if you have added any new gateway. Just leave an issue or pull-request!
All versions of sms with dependencies
guzzlehttp/guzzle Version ^6.3.0
monolog/monolog Version ^1.23.0
giggsey/libphonenumber-for-php Version ^8.9