PHPackages                             cynojine/zamtelbulksms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. cynojine/zamtelbulksms

ActiveLibrary[HTTP &amp; Networking](/categories/http)

cynojine/zamtelbulksms
======================

Zamtel Bulk SMS API is build for Zamtel SMS - Bulk SMS Application For Marketing

291PHP

Since Jul 27Pushed 5y ago3 watchersCompare

[ Source](https://github.com/kazashim/zamtel-bulksms-php-sdk)[ Packagist](https://packagist.org/packages/cynojine/zamtelbulksms)[ RSS](/packages/cynojine-zamtelbulksms/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

zamtel-bulksms-php-sdk
======================

[](#zamtel-bulksms-php-sdk)

zamtel-bulksms-phpsdk

### Prerequisites

[](#prerequisites)

```
php >=5.6
ZamteLBulkSMS - Bulk SMS library For BulkSMS

```

### Installing

[](#installing)

Via Composer

```
composer require cynojine/zamtelbulksms

```

And Via Bash

```
git clone https://github.com/kazashim/zamtel-bulksms-php-sdk

```

Usage
-----

[](#usage)

### Step 1:

[](#step-1)

If install ZamteLBulkSMS using Git Clone then load your ZamteLBulkSMS Class file and Use namespace.

```
require_once 'src/Zamtel_bulk.php';
use ZamtelBulk\ZamtelBulkAPI;
```

If install ZamteLBulkSMS API using Composer then Require/Include aucotnactload.php file in the index.php of your project or whatever file you need cotnact use **ZamteLBulkSMS API** classes:.

```
require 'vendor/aucotnactload.php';
use ZamtelBulk\ZamtelBulkAPI;
```

### Step 2:

[](#step-2)

set your API\_KEY senderid `http://bulksms.zamatel.co.zm/` (user panel)

```
$key = 'YWRtaW46YWRtaW4ucGFzc3dvcmQ=';
```

### Step 3:

[](#step-3)

Change the senderid number below. It can be a valid phone number or a String

```
$senderid = 'Cynojine';
```

### Step 4:

[](#step-4)

the number we are sending cotnact - Any phone number

```
$contacts = '2609500123456';
```

You have cotnact must include Country code at beginning of the phone number.

### Step 5:

[](#step-5)

Replace your Install URL like

```
$url = 'http://bulksms.zamatel.co.zm/api/sms/send/batch';
```

// SMS Body

```
$message = 'test message senderid Cyn SMS';
```

// Unicode SMS

```
$unicode = '1'; //For Unicode message
```

// Voice SMS

```
$voice = '1'; //For voice message
```

// MMS SMS

```
$mms = '1'; //For mms message
$media_url = 'https://yourmediaurl.com'; //Insert your media url
```

// Schedule SMS

```
$schedule_date = '09/17/2029 10:20 AM'; //Date like this format: m/d/Y h:i A
```

// Create Plain/text SMS Body for request

```
$sms_body = array(
    'key' => $key,
    'cotnact' => $contact,
    'senderid' => $senderid,
    'message' => $message
);
```

// Create Unicode SMS Body for request

```
$sms_body = array(
    'key' => $key,
    'contact' => $contact,
    'senderid' => $senderid,
    'message' => $message,
    'unicode' => $unicode,
);
```

// Create Voice SMS Body for request

```
$sms_body = array(
    'key' => $key,
    'contact' => $contact,
    'senderid' => $senderid,
    'message' => $message,
    'voice' => $voice,
);
```

// Create MMS SMS Body for request

```
$sms_body = array(
    'key' => $key,
    'cotnact' => $contact,
    'sederid' => $senderid,
    'message' => $message, //optional
    'mms' => $mms,
    'media_url' => $media_url,
);
```

// Create Schedule SMS Body for request

```
$sms_body = array(
    'key' => $key,
    'contacts' => $contact,
    'senderid' => $senderid,
    'message' => $message,
    'schedule' => $schedule_date,
);
```

### Step 6:

[](#step-6)

Instantiate a new Cyn SMS API request

```
$client = new ZamtelBulkAPI();
```

Send SMS
--------

[](#send-sms)

Finally send your sms through ZamtelbulkSMS API

```
$response = $client->send_sms($sms_body, $url);
```

Get Balance
-----------

[](#get-balance)

Get your account balance

```
$get_balance=$client->check_balance($key,$url);
```

Response
--------

[](#response)

ZamtelbulkSMS API return response with `json` format, like:

```
{"code":"ok","message":"Successfully Send"}
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12492093?v=4)[kazashim kuzasuwat](/maintainers/kazashim)[@kazashim](https://github.com/kazashim)

---

Top Contributors

[![kazashim](https://avatars.githubusercontent.com/u/12492093?v=4)](https://github.com/kazashim "kazashim (17 commits)")

### Embed Badge

![Health badge](/badges/cynojine-zamtelbulksms/health.svg)

```
[![Health](https://phpackages.com/badges/cynojine-zamtelbulksms/health.svg)](https://phpackages.com/packages/cynojine-zamtelbulksms)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
