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 today

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

26

—

LowBetter than 41% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

623d ago

### Community

Maintainers

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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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