PHPackages                             smstools-api/smstools-php-sdk - 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. smstools-api/smstools-php-sdk

ActiveLibrary[API Development](/categories/api)

smstools-api/smstools-php-sdk
=============================

Simple PHP SDK for smstools.be

v1.0.0(8mo ago)0176PHPPHP &gt;=8.0

Since Oct 30Pushed 8mo agoCompare

[ Source](https://github.com/Smstools-api/smstools-php-sdk)[ Packagist](https://packagist.org/packages/smstools-api/smstools-php-sdk)[ RSS](/packages/smstools-api-smstools-php-sdk/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

📱 Smstools PHP SDK
==================

[](#-smstools-php-sdk)

A simple PHP SDK for the [Smstools.com](https://www.smstools.com) API (v1).
This client provides an easy way to send SMS or Voice messages and manage your account using your `client_id` and `client_secret`.

---

🚀 Installation
--------------

[](#-installation)

### Via Composer

[](#via-composer)

```
composer require smstools-api/smstools-php-sdk
```

🔧 Configuration
---------------

[](#-configuration)

```
use Smstools\Client;

$client = new Client(
    clientId: 'YOUR_CLIENT_ID',
    clientSecret: 'YOUR_CLIENT_SECRET',
    baseUrl: 'https://api.smstools.com/v1/' // optional, default value
);
```

All requests automatically include:
-----------------------------------

[](#all-requests-automatically-include)

```
X-Client-Id: YOUR_CLIENT_ID
X-Client-Secret: YOUR_CLIENT_SECRET
```

💬 Examples
----------

[](#-examples)

### Send an SMS

[](#send-an-sms)

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

use Smstools\Client;

$client = new Client('your-client-id', 'your-client-secret');

try {
    $response = $client->sms()->send(
        to: '32470000000',
        message: 'Hello World!',
        sender: 'Smstools'
    );

    echo "✅ Message sent successfully!\n";
    print_r($response);

} catch (Exception $e) {
    echo "❌ Error sending SMS: " . $e->getMessage();
}
```

### Get current balance

[](#get-current-balance)

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

use Smstools\Client;

$client = new Client('your-client-id', 'your-client-secret');

try {
    $response = $client->balance()->get();
    print_r($response);

} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance61

Regular maintenance activity

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

247d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/241066750?v=4)[Smstools](/maintainers/Smstools-api)[@Smstools-api](https://github.com/Smstools-api)

---

Top Contributors

[![Smstools-api](https://avatars.githubusercontent.com/u/241066750?v=4)](https://github.com/Smstools-api "Smstools-api (7 commits)")

### Embed Badge

![Health badge](/badges/smstools-api-smstools-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/smstools-api-smstools-php-sdk/health.svg)](https://phpackages.com/packages/smstools-api-smstools-php-sdk)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

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

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/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)
