Download the PHP package connectmedia/sms without Composer
On this page you can find all versions of the php package connectmedia/sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download connectmedia/sms
More information about connectmedia/sms
Files in connectmedia/sms
Package sms
Short Description Official PHP client for the Connect Media SMS API: bulk SMS to Safaricom, Airtel and Telkom in Kenya and 190+ countries.
License MIT
Homepage https://connectmedia.co.ke/developers/
Informations about the package sms
Connect Media SMS for PHP
Official PHP client for the Connect Media SMS API. Send bulk and transactional SMS to Safaricom, Airtel and Telkom numbers in Kenya and to 190+ countries, check your balance, read sent history with delivery status and receive customer replies.
Get an API key
- Create a free account at app.connectmedia.co.ke.
- Generate a 64-character API key under Profile, then API keys.
- Top up any amount and register a sender ID (see sender ID registration in Kenya).
Install
Usage
Requires PHP 7.4+ with the curl and json extensions.
Response codes
| Action | Success code |
|---|---|
| send | 201 |
| balance | 200 |
| history | 202 |
| inbox | 302 |
Any other code raises an error carrying the API's code and message (for example 100 invalid API key, 101 insufficient balance, 104 invalid recipients, 105 invalid message, 500 server error). Network failures use code network; a non-JSON reply uses invalid_response.
Numbers are normalised for you: 0712345678, +254 712 345 678 and 254712345678 all become 254712345678. International numbers are passed through without punctuation.
Tests
Links
- Website: connectmedia.co.ke
- API documentation: connectmedia.co.ke/developers
- Pricing (SMS from KES 1.0, no minimum top-up, credit never expires): connectmedia.co.ke/pricing
- Bulk SMS API for Kenya: connectmedia.co.ke/bulk-sms-api-kenya
- Support: [email protected] · +254 707 339 945
License
MIT
All versions of sms with dependencies
ext-curl Version *
ext-json Version *