PHPackages                             maksimusyan/sms-sender - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. maksimusyan/sms-sender

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

maksimusyan/sms-sender
======================

Sending sms via api Epochta.

1.2.1(8y ago)046MITPHPPHP &gt;=5.3.0

Since Aug 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/maksimusyan/sms-sender)[ Packagist](https://packagist.org/packages/maksimusyan/sms-sender)[ Docs](https://github.com/maksimusyan/sms-sender)[ RSS](/packages/maksimusyan-sms-sender/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Sms Sender
==========

[](#sms-sender)

Sending sms via api Epochta

Library is published on the Composer:

Connect a stable version through the Composer:

> composer require maksimusyan/sms-sender

```
{
    "require": {
        "maksimusyan/sms-sender": "^1.2"
    }
}
```

or the developer version directly from github:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "git://github.com/maksimusyan/sms-sender.git"
    }
  ],
    "require": {
        "maksimusyan/sms-sender": "dev-master"
    }
}
```

Basic Usage:
------------

[](#basic-usage)

```
$provider = 'Epochta';
$config = array(
    'key_private' => 'YOUR_API_PRIVATE_KEY'
    ,'key_public' => 'YOUR_API_PUBLIC_KEY'
    //,'url_gateway' => 'http://api.atompark.com/sms/3.0/'
    //,'testmode' => false
);

$sms = new \Maksimusyan\SmsSender\Sender($provider,$config);
```

API methods
===========

[](#api-methods)

Send SMS:

```
$data = array(
    'sender' => 'MYCOMPANY', // Sender ID. Maximum 11 characters
    'text' => 'You have successfully made a purchase', // Message text
    'phone' => '79008881155', // Number of recipient
    'datetime' => '2018-05-01 00:20:00', // Sending at the set time
    'sms_lifetime' => '0' //SMS life time (0 = maximum, 1, 6, 12, 24 hour)
);
$sms->sendSMS($data);
```

Get balance:

```
$currency = 'RUB'; // Available currencies: 'USD','GBP','UAH','RUB','EUR'
$balance = $sms->getBalance($currency);
```

Get country codes:

```
$countries = $sms->getCountryCodes();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

2926d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/801a9d82da12409e72d8eea86406de0ca230cfc021de47cb1ad736f07a1a99f4?d=identicon)[maksimusyan](/maintainers/maksimusyan)

---

Tags

sms epochta

### Embed Badge

![Health badge](/badges/maksimusyan-sms-sender/health.svg)

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

###  Alternatives

[php-smpp/php-smpp

PHP-based SMPP client lib

234197.5k8](/packages/php-smpp-php-smpp)[instasent/sms-counter-php

SMS Counter PHP Class Library which detects encoding of an SMS message text, counts the characters as per the encoding and gives page limit information.

491.3M4](/packages/instasent-sms-counter-php)[alexandr-mironov/php-smpp

PHP SMPP client lib, fork of onlinecity/php-smpp

4864.3k](/packages/alexandr-mironov-php-smpp)[benmorel/gsm-charset-converter

Converts GSM 03.38 strings to and from UTF-8

16423.5k](/packages/benmorel-gsm-charset-converter)[franzose/laravel-smpp

SMS sending via SMPP protocol for Laravel framework.

3941.6k1](/packages/franzose-laravel-smpp)[matthewbdaly/sms-client

A generic SMS client library. Supports multiple swappable drivers.

2291.2k2](/packages/matthewbdaly-sms-client)

PHPackages © 2026

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