PHPackages                             jaanbv/smsbox-php-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. [HTTP &amp; Networking](/categories/http)
4. /
5. jaanbv/smsbox-php-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

jaanbv/smsbox-php-api
=====================

This library connects to the SmsBox api using php

1.0.3(1y ago)06MITPHPPHP &gt;=8.1.0

Since Sep 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/JaanTeam/smsbox-php-api)[ Packagist](https://packagist.org/packages/jaanbv/smsbox-php-api)[ RSS](/packages/jaanbv-smsbox-php-api/feed)WikiDiscussions master Synced 1mo ago

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

SmsBox PHP API
==============

[](#smsbox-php-api)

This library connects to the SmsBox API using PHP.

-

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

[](#installation)

```
"jaanbv/sms-php-api": "^1.*"
```

or run

```
composer require jaanbv/sms-php-api
```

Examples
--------

[](#examples)

- [Sending SMS](examples/example-sendSms.php)
- [Checking balance](examples/example-balance.php)
- [Checking if phone number is valid](examples/example-isValidPhoneNumber.php)
- [Retrieving phone number data](examples/example-retrievePhoneNumberData.php)
- [Send sms with one time password](examples/example-sendSmsWithOneTimePassword.php)
- [Verify one time password code](examples/example-verifyOneTimePasswordCode.php)

Fill in your API-key in [examples/credentials.php](examples/example-balance.php), then you can execute the examples:

```
# Get remaining credits
php examples/example-balance.php

# Validate phone number
php examples/example-isValidPhoneNumber.php

# Retrieving phone number data
php examples/example-retrievePhoneNumberData.php

# Send SMS
php examples/example-sendSms.php

# Send Voice message
php examples/example-sendVoice.php

# The following examples can be used to send & verify a one-time-password
php examples/example-sendSmsWithOneTimePassword.php
php examples/example-verifyOneTimePasswordCode.php
```

PHPUnit
-------

[](#phpunit)

Executing all tests:

```
./vendor/bin/phpunit tests
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

622d ago

### Community

Maintainers

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

---

Top Contributors

[![kaancolman](https://avatars.githubusercontent.com/u/159473827?v=4)](https://github.com/kaancolman "kaancolman (3 commits)")[![lipflip](https://avatars.githubusercontent.com/u/4736236?v=4)](https://github.com/lipflip "lipflip (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jaanbv-smsbox-php-api/health.svg)

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

###  Alternatives

[php-mqtt/client

An MQTT client written in and for PHP.

4372.1M30](/packages/php-mqtt-client)[aboutcoders/job-bundle

A symfony bundle for asynchronous job processing.

2618.0k1](/packages/aboutcoders-job-bundle)[algo-web/podata

OData for Poor PHP Developers

2812.4k3](/packages/algo-web-podata)

PHPackages © 2026

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