PHPackages                             angstrom/pandora-sms - 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. angstrom/pandora-sms

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

angstrom/pandora-sms
====================

A PHP client for sending SMS via Pandora SMS API

v1.3.0(1y ago)07MITPHPPHP &gt;=7.4

Since Jan 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/robin-001/pandora-sms)[ Packagist](https://packagist.org/packages/angstrom/pandora-sms)[ RSS](/packages/angstrom-pandora-sms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Pandora SMS PHP Client
======================

[](#pandora-sms-php-client)

A PHP client for sending SMS via Pandora SMS API.

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

[](#installation)

```
composer require angstrom/pandora-sms
```

Configuration
-------------

[](#configuration)

Create a `.env` file in your project root with your Pandora SMS credentials:

```
PANDORA_SMS_USERNAME=your_username
PANDORA_SMS_PASSWORD=your_password
PANDORA_SMS_BASE_URL=https://www.sms.thepandoranetworks.com/API/send_sms/
```

Usage
-----

[](#usage)

```
use Angstrom\PandoraSmsClient;

// Initialize the client (it will use credentials from .env)
$client = new PandoraSmsClient();

// Send SMS
$result = $client->sendSms(
    '0712345678',           // Phone number
    'Hello, World!',        // Message
    'YourSenderID',         // Sender ID (must be approved)
    'non_customised',       // Message type (non_customised or customised)
    'bulk'                  // Message category (bulk)
);

// Handle the response
if ($result['success']) {
    echo "Message sent successfully!\n";
    echo "Balance: " . $result['data']['balance'] . "\n";
    echo "SMS Cost: " . $result['data']['sms_cost'] . "\n";
} else {
    echo "Error: " . ($result['messages'][0] ?? $result['error_message']) . "\n";
}
```

Response Format
---------------

[](#response-format)

Successful response:

```
{
    "statusCode": 201,
    "success": true,
    "messages": [
        "Message sent to 1 contacts. 0 were found to be unsupported. 0 contacts were duplicate and were merged."
    ],
    "data": {
        "supported_contacts": 1,
        "unsupported_contacts": 0,
        "sms_cost": 25,
        "balance": 9430
    }
}
```

Parameters
----------

[](#parameters)

- `number`: Phone number in local format (e.g., '0712345678')
- `message`: The SMS text content
- `sender`: Your approved sender ID
- `messageType`: Either 'non\_customised' or 'customised'
- `messageCategory`: Use 'bulk' for sending messages

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance42

Moderate activity, may be stable

Popularity4

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.

###  Release Activity

Cadence

Every ~2 days

Total

4

Last Release

461d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d1cae7b564963d2d43c24ceb54facfca1c322bd6aaa6c07ec43f298e591a1a9?d=identicon)[rokello](/maintainers/rokello)

---

Top Contributors

[![robin-001](https://avatars.githubusercontent.com/u/1793066?v=4)](https://github.com/robin-001 "robin-001 (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/angstrom-pandora-sms/health.svg)

```
[![Health](https://phpackages.com/badges/angstrom-pandora-sms/health.svg)](https://phpackages.com/packages/angstrom-pandora-sms)
```

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)

PHPackages © 2026

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