PHPackages                             kwarcek/orange-smartsms-api - 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. kwarcek/orange-smartsms-api

ActiveLibrary[API Development](/categories/api)

kwarcek/orange-smartsms-api
===========================

A PHP API client for Orange SmartSMS service.

1.0.0(1y ago)03PHPPHP ^8.2

Since Oct 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Kwarcek/orange-smartsms-api)[ Packagist](https://packagist.org/packages/kwarcek/orange-smartsms-api)[ RSS](/packages/kwarcek-orange-smartsms-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Orange SmartSMS API Client
==========================

[](#orange-smartsms-api-client)

A PHP client to interact with the Orange SmartSMS API. This package allows you to send SMS messages, check their delivery status, and monitor API usage limits.

Features
--------

[](#features)

- Send SMS messages to various networks.
- Check the delivery status of previously sent SMS messages.
- Retrieve the usage limit and available requests for the SmartSMS API.

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

[](#installation)

1. Install via Composer:

    ```
    composer require kwarcek/orange-smartsms-api
    ```

Usage
-----

[](#usage)

### 1. Send an SMS Message

[](#1-send-an-sms-message)

You can send an SMS message by using the `sendSMS` method. The message will be delivered to the recipient's mobile phone.

#### Example:

[](#example)

```
use Kwarcek\OrangeSmartsmsApi\Requests\MessagingRequest;
use Kwarcek\OrangeSmartsmsApi\DTO\SMSMessage;
use GuzzleHttp\Client;

$isDev = getenv('APP_ENV');

// Create a new Guzzle client and MessagingRequest instance
$client = new Client([
    'base_uri' => $isDev ? 'https://apib2b-test.orange.pl/' : 'https://apib2b.orange.pl/',
]);
$apiKey = 'your-api-key-here';

$messagingRequest = new MessagingRequest($client, $apiKey);

// Define the SMS message
$message = new SMSMessage([
    'sender' => 'YourSenderID',
    'recipient' => '48510123456', // Recipient's phone number
    'content' => 'Hello from Orange SmartSMS!',
]);

// Send the SMS
$response = $messagingRequest->sendSMS($message, true);

print_r($response);
```

### 2. Check SMS Delivery Status

[](#2-check-sms-delivery-status)

You can check the delivery status of a sent SMS by passing the unique ID returned in the sendSMS response. Example:

```
use Kwarcek\OrangeSmartsmsApi\Requests\MessagingRequest;
use GuzzleHttp\Client;

$isDev = getenv('APP_ENV');

$client = new Client([
    'base_uri' => $isDev ? 'https://apib2b-test.orange.pl/' : 'https://apib2b.orange.pl/',
]);
$apiKey = 'your-api-key-here';

$messagingRequest = new MessagingRequest($client, $apiKey);

$id = '54510a5d0361'; // Example message ID
$response = $messagingRequest->checkDeliveryStatus($id);

print_r($response);
```

### 3. Check API Usage Limit

[](#3-check-api-usage-limit)

You can check the current API usage limit for SmartSMS, including used and available requests. Example:

```
use Kwarcek\OrangeSmartsmsApi\Requests\MessagingRequest;
use GuzzleHttp\Client;

$isDev = getenv('APP_ENV');

$client = new Client([
    'base_uri' => $isDev ? 'https://apib2b-test.orange.pl/' : 'https://apib2b.orange.pl/',
]);
$apiKey = 'your-api-key-here';

$messagingRequest = new MessagingRequest($client, $apiKey);

$response = $messagingRequest->checkLimit();

print_r($response);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

568d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e290e12f30e8e25f54bceb8ab94455f49f7d6781b037cc265b8cee05b5215946?d=identicon)[Kwarcek](/maintainers/Kwarcek)

---

Top Contributors

[![Kwarcek](https://avatars.githubusercontent.com/u/23723059?v=4)](https://github.com/Kwarcek "Kwarcek (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kwarcek-orange-smartsms-api/health.svg)

```
[![Health](https://phpackages.com/badges/kwarcek-orange-smartsms-api/health.svg)](https://phpackages.com/packages/kwarcek-orange-smartsms-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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