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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sdk

mobiweb-php

GitHub release (latest by date) Packagist Downloads GitHub all releases GitHub repo size GitHub top language GitHub

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:

Installation

API Account

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

PHP Build Version
Package Version
Requires php Version >=7.0.0
ext-curl Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mobiweb/sdk contains the following files

Loading the files please wait ....