PHPackages                             nikba/sms.md-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. [API Development](/categories/api)
4. /
5. nikba/sms.md-php-api

ActiveLibrary[API Development](/categories/api)

nikba/sms.md-php-api
====================

SMS.MD API PHP SDK

v1.1(2y ago)016MITPHPPHP &gt;=7.2

Since Jul 21Pushed 2y agoCompare

[ Source](https://github.com/Nikba-Creative-Studio/sms.md-php-api)[ Packagist](https://packagist.org/packages/nikba/sms.md-php-api)[ RSS](/packages/nikba-smsmd-php-api/feed)WikiDiscussions main Synced 1mo ago

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

SMS.MD API SDK
==============

[](#smsmd-api-sdk)

#### Send SMS using [sms.md](https://sms.md/)

[](#send-sms-using-smsmd)

ServiceSMS messaging in Moldova - Build a reliable and effective connection with customers using the capabilities of [sms.md](https://sms.md/)

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

[](#installation)

SmsMd requires [PHP](https://php.net/) v5.4+ to run.

Require this package with Composer in the root directory of your project.

```
composer require nikba/sms.md-php-api
```

Usage
-----

[](#usage)

Create a new instance with your API key:

```
$sms = new \Nikba\SmsMdPhpApi\SmsMd('API_TOKEN');
```

### Send Single sms message

[](#send-single-sms-message)

Parameters:

- Phone Number
- Message
- Sender alias

```
$sms->send("37360820825", "Hello World!", "Nikba Creative Studio");
```

### Get Balance

[](#get-balance)

```
$sms->getBalance();
```

### Get Messages List

[](#get-messages-list)

Parameters:

- Page
- Date From (01.07.2022)
- Date To (20.07.2022)
- Status (1-Pending, 2-Sent, 3-Delivered, 9-Error)

```
$sms->getMessages(1,"01.07.2022", "20.07.2022", "2");
```

### Get Message by id

[](#get-message-by-id)

Parameters:

- id

```
$sms->getMessage("449d5410-82d3-4b6e-96bc-cc92a33eb3f5");
```

### Get Messages Statuses

[](#get-messages-statuses)

```
$sms->getMessageStatuses();
```

**Server response**

```
[
  {
    "id": 1,
    "name": "Ждет отправки",
    "description": "Отложенная отправка"
  },
  {
    "id": 2,
    "name": "Отправлено",
    "description": "Отправлено оператору"
  },
  {
    "id": 3,
    "name": "Доставлено",
    "description": "Доставдено оператором"
  },
  {
    "id": 4,
    "name": "Повторная отправка",
    "description": "Ошибка при отпрвке, ошибка позволяет отправить еще раз"
  },
  {
    "id": 5,
    "name": "У оператора",
    "description": "У оператора в очереди"
  },
  {
    "id": 9,
    "name": "Ошибка отправки",
    "description": "Не отправлено оператором"
  }
]
```

### Get all Contacts

[](#get-all-contacts)

Parameters:

- Page

```
$sms->getContacts(1);
```

### Get all address books

[](#get-all-address-books)

Parameters:

- Page

```
$sms->getAddressBooks(1);
```

### Get all address book contacts

[](#get-all-address-book-contacts)

Parameters:

- Id
- Page

```
$sms->getAddressBookContacts("449d5410-82d3-4b6e-96bc-cc92a33eb3f5", 1);
```

### Get all sender aliases

[](#get-all-sender-aliases)

```
$sms->getSenderAliases();
```

### Get Stats

[](#get-stats)

```
$sms->getStats();
```

License
-------

[](#license)

MIT **Free Software, Hell Yeah!**

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

Total

3

Last Release

948d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.6

v1.1PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/0bcd10cd5a6707af2160f69291d06ff63cada1a920921edf7e3a4bdca6950c84?d=identicon)[nikba](/maintainers/nikba)

---

Top Contributors

[![Nikba-Creative-Studio](https://avatars.githubusercontent.com/u/41567806?v=4)](https://github.com/Nikba-Creative-Studio "Nikba-Creative-Studio (5 commits)")

---

Tags

phpapismssms.md

### Embed Badge

![Health badge](/badges/nikba-smsmd-php-api/health.svg)

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[unicodeveloper/jusibe-php-lib

Jusibe PHP Library

3417.4k1](/packages/unicodeveloper-jusibe-php-lib)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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