PHPackages                             krisciunaskarolis/smsbiuras - 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. krisciunaskarolis/smsbiuras

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

krisciunaskarolis/smsbiuras
===========================

PHP client for Smsbiuras.lt API

1.0.0(3y ago)08MITPHP

Since Feb 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/krisciunaskarolis/smsbiuras)[ Packagist](https://packagist.org/packages/krisciunaskarolis/smsbiuras)[ RSS](/packages/krisciunaskarolis-smsbiuras/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

SmsBiuras.lt SMS gateway PHP integration
========================================

[](#smsbiuraslt-sms-gateway-php-integration)

PHP client for [SmsBiuras](https://smsbiuras.lt) [sms sending API](https://docs.smsbiuras.lt/).

Client allows sending sms messages.

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

```
composer require krisciunaskarolis/smsbiuras
```

### Authentication

[](#authentication)

You have to create SmsBiuras account first. More information [here](https://www.smsbiuras.lt/). After registration you have to create APIKEY, which will be used for authentication.

### Sending messages

[](#sending-messages)

To send messages:

```
$apiKey = '[API_KEY]'; //replace [API_KEY] with your API key
$userId = '[USER_ID]'; //replace [USER_ID] with your user id

$smsSender = new \Krisciunas\SmsBiuras\Sender\SmsSender();
$message = new \Krisciunas\SmsBiuras\Message\SmsMessage(
    //Sender name (sender ID), sender must be confirmed before sending SMS message
    sender: '37062415654',
    //Phone number of recipient
    recipientPhoneNumber: '37066666661',
    //Message
    message: 'This is test message for first recipient!',
    //Should message be opened on receiver's screen
    flash: \Krisciunas\SmsBiuras\Message\SmsMessageInterface::FLASH_NOT_REQUIRED,
    //Is it test message
    test: \Krisciunas\SmsBiuras\Message\SmsMessageInterface::TEST_MODE_ENABLED,
);

$result = $smsSender->send($apiKey, $userId, $message);
```

### Getting result

[](#getting-result)

`send` method of `SmsSender` class returns object implementing `MessageLogRecordInterface`. You can use this object to check status of message sent:

```
   $messageStatus = $result->getStatusCode();
   $messageId = $result->getMessageId();
```

If message was successfully sent, $messageId will be not null. If error occured, $messageStatus will be the code of error. Check [list of error codes here](https://docs.smsbiuras.lt/#klaidu_kodai)

Examples
--------

[](#examples)

You can find working example in `src/examples/sendSmsMessages.php`

Replace `[API_KEY]`, `[USER_ID]` with yours and run example:

```
php sendSmsMessages.php

```

Authors
-------

[](#authors)

- [Karolis Kriščiūnas](mailto:karolis.krisciunas@gmail.com)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

1222d ago

### Community

Maintainers

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

---

Tags

php8smssms-apisms-gatewsms-gatewaysmsbiurassms sending

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/krisciunaskarolis-smsbiuras/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[guzzlehttp/guzzle-services

Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.

25711.0M191](/packages/guzzlehttp-guzzle-services)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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