PHPackages                             velostazione/besms - 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. velostazione/besms

AbandonedArchivedLibrary

velostazione/besms
==================

Simple PHP client to send SMS via BeSMS API

1.1.0(4y ago)01111MITPHPPHP ^8.0

Since Sep 29Pushed 4y agoCompare

[ Source](https://github.com/velostazione/besms)[ Packagist](https://packagist.org/packages/velostazione/besms)[ RSS](/packages/velostazione-besms/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

BeSMS
=====

[](#besms)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cd2cf452b698885b8ee37a8e56c156d15158fb9d31ed41f78b904a127cf97cc2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76656c6f7374617a696f6e652f6265736d732e737667)](https://packagist.org/packages/velostazione/besms)[![test](https://github.com/velostazione/besms/actions/workflows/test.yml/badge.svg)](https://github.com/velostazione/besms/actions/workflows/test.yml/badge.svg)[![PHP 8.0.10](https://camo.githubusercontent.com/e44c21cf8a4a1a88b409554d8e2c8add90439cbeaa5e84e0c9b2011426082d85/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e302e31302d3437346138612e7376673f6c6f676f3d706870)](https://camo.githubusercontent.com/e44c21cf8a4a1a88b409554d8e2c8add90439cbeaa5e84e0c9b2011426082d85/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e302e31302d3437346138612e7376673f6c6f676f3d706870)

The unofficial helper library to send SMS with [BeSMS.it](https://www.besms.it/)

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

[](#installation)

```
composer require velostazione/besms

```

Usage
-----

[](#usage)

See BeSMS official documentation: [https://www.besms.it/documentazione\_api/Documentazione\_BCP\_API.pdf](https://www.besms.it/documentazione_api/Documentazione_BCP_API.pdf)

```
require_once('vendor/autoload.php');

use Velostazione\BeSMS\Client;
use Velostazione\BeSMS\Api;

$client = new Client();
$besms = new BeSMS($client, '', '', , , );
```

### Send SMS

[](#send-sms)

```
$response = $besms->send('61491570156', 'hello world');

print_r($response);
```

#### Different seder

[](#different-seder)

Beside the sender defined when instantiating the class, a different sender can be specified on the fly upon sending a message:

```
$response = $besms->send('61491570156', 'hello world', );

print_r($response);
```

#### Country code

[](#country-code)

Since BeSMS only accepts integer recipients, country codes in the common forms of `+93`, `0093` or `+1-684` would not be accepted.

The `send` method will take care of this automatically removing any leading plus, double zero or dash.

### View credit

[](#view-credit)

```
$response = $besms->getCredit();

print_r($response);
```

Tests
-----

[](#tests)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

Every ~0 days

Total

2

Last Release

1686d ago

### Community

Maintainers

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

---

Top Contributors

[![joylazari](https://avatars.githubusercontent.com/u/6898095?v=4)](https://github.com/joylazari "joylazari (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/velostazione-besms/health.svg)

```
[![Health](https://phpackages.com/badges/velostazione-besms/health.svg)](https://phpackages.com/packages/velostazione-besms)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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