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(6mo ago)057PHPPHP &gt;=8.0

Since Oct 30Pushed 6mo 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 1mo ago

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

Maintenance66

Regular maintenance activity

Popularity11

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

200d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c3551b0292b2ee544894f4d08ca43d1754de178a65a45943822326e44d5d074?d=identicon)[Smstools-api](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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