Download the PHP package rapidsmsng/sms-php-sdk without Composer

On this page you can find all versions of the php package rapidsmsng/sms-php-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 sms-php-sdk

Rapid SMS Nigeria PHP SDK

Rapid SMS PHP SDK is built for Rapid SMS - Bulk SMS Application

Prerequisites

To use Rapid SMS SDK you must have created an account with Rapid SMS. For more details please visit: Rapid SMS

Installing

Via Composer

And Via Bash

Usage

Step 1:

If installing Rapid SMS SDK using Git Clone then load your Rapid SMS SDK Class files with the use of namespaces.

If installing Rapid SMS API using Composer then require/include autoload.php file in the index.php of your project or whatever file you need to use Rapid SMS SDK classes:.

Step 2:

Get your API_KEY from https://rapidsmsng.com/sms-api/info (from within your account)

Step 3:

Change to your Sender ID. Submit Sender ID for approval from here https://rapidsmsng.com/user/sms/sender-id-management

Step 4:

the number we are sending to - Any phone number

For multiple number please use Comma (,) after every single number.

You can insert maximum 100 numbers using comma separated string in single api request.

Step 5:

Replace your URL with https://rapidsmsng.com/sms/api. sms/api is mandatory.

// SMS Body

// Unicode SMS

// Schedule SMS

// Create Plain/text SMS Body for request

// Create Unicode SMS Body for request

// Create SMS Body for Schedule request

Step 6:

Instantiate a new Rapid SMS API request

Send SMS

Finally send your sms through Rapid SMS API

Get Inbox

Get all your messages

Get Balance

Get your account balance

Response

Rapid SMS API return response in json format, like:

Delivery Reports

Pushing delivery reports to an endpoint you specify is coming soon

Status Code

Status Message
ok Successfully queued
100 Bad gateway requested
101 Wrong action
102 Authentication failed
103 Invalid phone number
104 Phone coverage not active
105 Insufficient balance
106 Invalid sender id
107 Invalid SMS type
108 SMS gateway not active
109 Invalid schedule time
110 SMS contain spam word. Pending approval

Authors


All versions of sms-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
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 rapidsmsng/sms-php-sdk contains the following files

Loading the files please wait ....