PHPackages                             lapshev/sms-assistent - 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. lapshev/sms-assistent

ActiveLibrary

lapshev/sms-assistent
=====================

sms-assistent.by api simple client

v1.0.1(8y ago)134MITPHPPHP &gt;=5.6.0

Since Oct 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/victorlapshev/sms-assistant)[ Packagist](https://packagist.org/packages/lapshev/sms-assistent)[ RSS](/packages/lapshev-sms-assistent/feed)WikiDiscussions master Synced 2d ago

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

sms-assistant
=============

[](#sms-assistant)

Simple [sms-assistent](http://sms-assistent.by/) client implementation, based on [Guzzle Client](http://docs.guzzlephp.org/en/stable/).

### Installation

[](#installation)

- `composer require lapshev/sms-assistent` using composer

### Usage

[](#usage)

```
use Lapshev\SmsAssistant;

try {
    $sender = new SmsAssistant\Sender('CMC', 'username', 'password');
    $messageId = $sender->sendMessage('+375297777777', 'Message test') . PHP_EOL;

} catch( SmsAssistant\Exception $e ) {
    die($e->getMessage());
}
```

#### Other features

[](#other-features)

- `$sender->getBalance()` get account balance
- `$sender->getMessageStatus($messageId);` get message status by id, returned by `$sender->sendMessage()`

#### Options

[](#options)

Passed as `fourth` parameter in `new SmsAssistant\Sender(,,,$params)`

- `timeout` - http request timeout
- `debug` - debug mode true or false
- `debug_filename` - absolute path for output filename

#### Debug mode

[](#debug-mode)

If you don't want to actually send messages during integration, you can use debug mode as show bellow

```
use Lapshev\SmsAssistant;

$sender = new SmsAssistant\Sender('s', 'u', 'p', [
    'debug'             => true,
    'debug_filename'    => __DIR__ . '/out/log.txt'
]);

$sender->sendMessage('+375297777777', 'Message test');
```

After that `log.txt` will contain debug info, e.g

```
Array
(
    [user] => username
    [password] => password
    [_path] => credits
    [_time] => 01-10-2017 14:51:29
)
Array
(
    [recipient] => +375296666666
    [message] => test message
    [sender] => sender_name
    [user] => username
    [password] => password
    [_path] => send_sms
    [_time] => 01-10-2017 14:51:29
)

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~1 days

Total

2

Last Release

3145d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ab74e3c0368d89d6b465ca35b52aea5c7f010131776b41588a9bf305ce873f6?d=identicon)[lapshev](/maintainers/lapshev)

---

Top Contributors

[![victorlapshev](https://avatars.githubusercontent.com/u/10122154?v=4)](https://github.com/victorlapshev "victorlapshev (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lapshev-sms-assistent/health.svg)

```
[![Health](https://phpackages.com/badges/lapshev-sms-assistent/health.svg)](https://phpackages.com/packages/lapshev-sms-assistent)
```

###  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)
