Download the PHP package mobiweb/sdk without Composer
On this page you can find all versions of the php package mobiweb/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package sdk
Short Description 4.0.3 PHP library for communicating with the MobiWeb REST APIs.
License MIT
Homepage https://api.solutions4mobiles.com/index.html
Informations about the package sdk
mobiweb-php
A PHP library for interfacing with MobiWeb RESTful SMS, HLR and OTP APIs.
Documentation
MobiWeb RESTful APIs can be found here.
Versions
Supported PHP Versions
This library supports the following PHP implementations:
- From PHP 7.0 up to PHP 8.2
Installation
- Download Source
- composer require
mobiweb/sdk
API Account
- With MobiWeb SMS API you can send SMS messages to 7+ billion subscribers of 1000+ Mobile Operators in 200+ countries.
- With MobiWeb HLR API you can maximize the performance of your campaigns and your business communication. Validate mobile number databases, remove invalid entries and receive correct portability information, identifying the operators that the mobile numbers belong to.
- With MobiWeb OTP API you can provide additional security to simple username and password authentication, authenticated transactions, accurately verify users, reduce fraud and reduce two-factor authentication cost (no hardware tokens required).
- With MobiWeb Asynchronous SMS API you can send SMS messages with high throughput, utilizing SMPP protocol.
The APIs are based on REST with built-in HTTP authentication and HTTP status codes. All data exchange is done in JSON format.
To test the SMS, OTP and HLR APIs, you will need a valid API account. If you don't have one yet, click here to register for a FREE account.
To test the Asynch SMS API, you will need a valid SMPP API account. If you don't have one yet, please contact us [here][smppaccount] to register for a FREE test account.
Examples
SMS API
Send a single SMS
Send multiple SMS
Send SMS to multiple recipients
Send SMS with all options
Send SMS with shortened URL and URL tracking enabled
Schedule SMS
Get account balance
Get account pricing
Receive delivery reports
Delivery reports are forwarded automatically, to the user system / platform. When an SMS delivery report is received by our SMS API Platform, the DLR information is immediately forwarded to your specified DLR Callback URL via a POST request. You can setup your DLR Callback URL in the web portal.
Receive URL tracking and conversion information
URL tracking information is forwarded automatically, to the user system / platform. When a user clicks a link, the CTR and user information is immediately forwarded to your specified Callback URL via a POST request. You can setup your Callback URL in the web portal.
HLR API
Lookup a mobile number
Get account balance
Get account pricing
OTP SMS API
Generate and send OTP
Validate OTP
Get account balance
Get account pricing
Asynchronous SMS API
Asynchronous SMS Flow
To achieve better performance, messages you send With MobiWeb Asynchronous SMS API are validated and accepted instantly, but processed asynchronously. Once your messages are processed and submitted you will receive Status Notifications regarding the their status. Message Status Notifications are forwarded automatically, to your system / platform. When a message is processed by our SMS API Platform, the status information is immediately forwarded to your specified DLR Callback URL via a POST request (Status Notification Forwarding). After the messages are delivered or have reached their final status, our SMS API Platform immediately forwards the associated Delivery Reports to your specified DLR Callback URL via a POST request (DLR Forwarding).
Send a single SMS
Send a single SMS while preserving authentication token (for multiple concurrent executions)
Send multiple SMS
Send SMS with all options
Get account balance
Get account pricing
Receive message status notifications and delivery reports
Status notifications of messages processed and elivery reports are forwarded automatically, to the user system / platform. When a message is processed by our SMS API Platform, the status information is immediately forwarded to your specified DLR Callback URL (specified when setting up your Asynch SMS API Account) via a POST request.
Matching message status notifications and delivery reports with messages
Status notifications and delivery reports POST requests transmit the , , and .
Due to the asynchronous nature of the SMPP API, message id is not available when you submit a message for processing.
To match and cross-check messages submitted with their status notifications and delivery reports, please set when submitting messages and store it, so you can cross-check and match when you receive a notification and delivery report.
Alternatively, if you are not sending multiple messages to the same mobile numbers, you can use the to match reports with messages.
Getting help
If you need help installing or using the library, please contact us.
If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!
[smppaccount]: mailto:[email protected]?subject=Asynchronous SMS API Test Account Request&body=Dear Team, please provide me with a test account for the Asynchronous SMS API.
All versions of sdk with dependencies
ext-curl Version *
ext-json Version *