PHPackages                             aladeusi/ebulk-php - 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. [API Development](/categories/api)
4. /
5. aladeusi/ebulk-php

ActiveLibrary[API Development](/categories/api)

aladeusi/ebulk-php
==================

ebulk-php is a library for using the Ebulk SMS API from PHP. This library is first and designed to make Ebulk API consumption seamless.

113PHP

Since Mar 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Aladeusi/ebulk-php)[ Packagist](https://packagist.org/packages/aladeusi/ebulk-php)[ RSS](/packages/aladeusi-ebulk-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

ebulk-php
=========

[](#ebulk-php)

[![Build Status](https://camo.githubusercontent.com/981e8657b34e9a12f202a365cff87225b4f64aeda708eb1a6c1f73eb70e3ca38/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f416c6164657573692f6562756c6b2d7068702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/Aladeusi/ebulk-php)![license](https://camo.githubusercontent.com/effa120ff2c8f5a83b82b01def6774463bede8af52d2acec746fbf530861c322/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f416c6164657573692f6562756c6b2d7068702e737667)

![Packagist](https://camo.githubusercontent.com/ff4b971eea552a711210be62678069235f23e5114acfc9d781f6253e16bc4f35/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f416c6164657573692f616c6164657573692f6562756c6b2d7068702e737667)

ebulk-php is a library for using the [Ebulk SMS](http://ebulksms.com) API from PHP.

This library is first and designed to make Ebulk API consumption seamless.

Installation
------------

[](#installation)

To install using composer

```
composer require aladeusi/ebulk-php=dev-master

```

Navigate to your root directory and update composer to install ebulk-php dependencies

```
composer update

```

Usage
-----

[](#usage)

### Import Classes

[](#import-classes)

Require composer autoload file and import Initialize, SendMessage and Response classes

```
    require ('vendor/autoload.php');

    use EbulkSMS\Authentication\Initialize;
    use EbulkSMS\Response\Response;
    use EbulkSMS\Request\SendSMS;
```

### Initialize the Libary

[](#initialize-the-libary)

First you initialize the library with your API key. This key can be retrived from your evulk account dashboard

```
$Initialize=new Initialize([
    'Key'=>'YourAPIKey',
    'Username'=>'YourEbulkUserName'
    ]);
```

### Send SMS

[](#send-sms)

You can either send sms in JSON format or XML format.

#### In JSON Format

[](#in-json-format)

```
    SendSMS::sendWithJSON(['SenderName'=>'YourCustomSenderName',
            'Recipients'=>'RecipientsPhoneNumbersSeparatedWithComma',
            'Message'=>'YourCustomMessage'
        ]);
```

#### In XML Format

[](#in-xml-format)

```
    SendSMS::sendWithXML(['SenderName'=>'YourCustomSenderName',
            'Recipients'=>'RecipientsPhoneNumbersSeparatedWithComma',
            'Message'=>'YourCustomMessage'
        ]);
```

### Get Response Message and Code

[](#get-response-message-and-code)

#### Response Code

[](#response-code)

```
    Response::$getResposeCode
```

#### Response Success Message

[](#response-success-message)

```
    Response::$getSuccessMessage
```

#### Response Error Message

[](#response-error-message)

```
    Response::$getErrorMessage
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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://www.gravatar.com/avatar/61339a9e8a4159532e9a7a1d25f1c63de299c6e21a3576c059a96924f7ce2270?d=identicon)[Aladeusi](/maintainers/Aladeusi)

---

Top Contributors

[![realdavidalad](https://avatars.githubusercontent.com/u/8726911?v=4)](https://github.com/realdavidalad "realdavidalad (32 commits)")

### Embed Badge

![Health badge](/badges/aladeusi-ebulk-php/health.svg)

```
[![Health](https://phpackages.com/badges/aladeusi-ebulk-php/health.svg)](https://phpackages.com/packages/aladeusi-ebulk-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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