Download the PHP package masgeek/fuelrod-rest-api-client without Composer
On this page you can find all versions of the php package masgeek/fuelrod-rest-api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download masgeek/fuelrod-rest-api-client
More information about masgeek/fuelrod-rest-api-client
Files in masgeek/fuelrod-rest-api-client
Download masgeek/fuelrod-rest-api-client
More information about masgeek/fuelrod-rest-api-client
Files in masgeek/fuelrod-rest-api-client
Vendor masgeek
Package fuelrod-rest-api-client
Short Description Fuelrod REST api package for messaging and other things
License MIT
Homepage https://www.munywele.co.ke
Package fuelrod-rest-api-client
Short Description Fuelrod REST api package for messaging and other things
License MIT
Homepage https://www.munywele.co.ke
Please rate this library. Is it a good library?
Informations about the package fuelrod-rest-api-client
Fuelrod REST API Client
PHP client library for the Fuelrod messaging API.
Requirements
- PHP 8.2 or higher
- ext-curl, ext-json, ext-mbstring
Installation
Usage
Credential-based authentication
API key authentication
Pass an API key as the fourth argument. When an API key is provided the user
and password fields are omitted from every request payload.
Sending a single SMS
Sending a plain SMS
Sending a premium SMS
Response shape
Every method returns an associative array:
| Key | Type | Description |
|---|---|---|
status |
string |
"success" on 2xx, "error" on a 4xx client error |
data |
object\|string |
Decoded JSON body, or raw string if the body is not JSON |
Server-level errors (5xx, network timeouts) throw GuzzleHttp\Exception\GuzzleException.
Validation errors
FuelrodException (code 422) is thrown when:
tois missing, empty, or not a stringmessageis missing or empty- The phone number does not match
+?[0-9]{7,15}(E.164 or local format)
Phone number format
| Format | Example |
|---|---|
| Local | 0712345678 |
| E.164 | +254712345678 |
Running tests
License
MIT
All versions of fuelrod-rest-api-client with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.0 || ^7.5
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.0 || ^7.5
The package masgeek/fuelrod-rest-api-client contains the following files
Loading the files please wait ...