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 today

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 35% of packages

Maintenance40

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

513d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5147019?v=4)[rokello](/maintainers/rokello)[@rokello](https://github.com/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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k39](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[guzzlehttp/test-server

Node.js server and PHP controller

14284.0k22](/packages/guzzlehttp-test-server)

PHPackages © 2026

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