PHPackages                             mobizon/mobizon-php - 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. mobizon/mobizon-php

ActiveLibrary[API Development](/categories/api)

mobizon/mobizon-php
===================

A PHP library for communicating with the Mobizon API. Mobizon is a powerful SMS gateway and online marketing tools.

2.0.3(6y ago)18115.1k↑21.6%13[1 PRs](https://github.com/mobizon/mobizon-php/pulls)1MITPHPPHP &gt;=5.3.3

Since Aug 19Pushed 4y ago4 watchersCompare

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

READMEChangelog (3)DependenciesVersions (5)Used By (1)

[English](#php-library-for-communicating-with-mobizon-sms-http-api) | [Русский](#%D0%91%D0%B8%D0%B1%D0%BB%D0%B8%D0%BE%D1%82%D0%B5%D0%BA%D0%B0-%D0%B4%D0%BB%D1%8F-%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%8B-%D1%81-%D0%90%D0%9F%D0%98-mobizon)

PHP library for communicating with Mobizon SMS HTTP API
=======================================================

[](#php-library-for-communicating-with-mobizon-sms-http-api)

[PHP class](https://github.com/mobizon/mobizon-php/blob/master/src/MobizonApi.php) for interaction with Mobizon SMS API - mobizon-php.

Minimal required PHP version - 5.3.3

To start sending SMS messages through Mobizon API you should do three simple steps:

1. [Register account](https://mobizon.com/registrationcountries) at [Mobizon](https://mobizon.com/) website
2. [Enable API](https://help.mobizon.com/help/api-docs/sms-api#how-to-set-up-api) in your Mobizon account settings and get API key provided
3. Setup your software to send SMS or make any other activity to fulfil your company business requirements. See [examples](https://github.com/mobizon/mobizon-php/tree/master/docs/examples) for typical scenarios.

API quick start guide is available at [Mobizon knowledge base website](https://help.mobizon.com/help/api-docs/sms-api).

Composer
========

[](#composer)

[Composer package](https://getcomposer.org/) is available through [packagist](https://packagist.org/packages/mobizon/mobizon-php).

API methods documentation
=========================

[](#api-methods-documentation)

You could review online documentation for detailed description of all currently available [API methods](https://help.mobizon.com/help/api-docs), input parameters, result formats, [API result codes](https://help.mobizon.com/help/api-docs/other#ApiCode) at .

Typical cases example code (PHP)
================================

[](#typical-cases-example-code-php)

We have started development of typical usage scenarios in [docs/examples](https://github.com/mobizon/mobizon-php/tree/master/docs/examples). If you have own examples of integration, please help us in improving our code base - just send us some code examples to  and we will glad to put your code to our repo.

- [Get balance amount](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/balance.php)
- [Send SMS message](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/send_message.php)
- [Get your alphanames list](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/alphanames.php)
- [Send massive SMS campaign](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/send_mass_sms_campaign.php)
- [Generate SMS messages report](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/generate_messages_report_csv.php)
- [Generate SMS campaigns summary report](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/generate_campaigns_report_csv.php)

[![Latest Stable Version](https://camo.githubusercontent.com/b4f9999525464e9b91239ed7745052630b4daa869772e92640e6ee37d97dc89e/68747470733a2f2f706f7365722e707567782e6f72672f6d6f62697a6f6e2f6d6f62697a6f6e2d7068702f762f737461626c65)](https://packagist.org/packages/mobizon/mobizon-php)[![Total Downloads](https://camo.githubusercontent.com/be34b8c63cd6cbfd58092c2cf5af982eb55f048662be77cbfcb21300d8bae9dd/68747470733a2f2f706f7365722e707567782e6f72672f6d6f62697a6f6e2f6d6f62697a6f6e2d7068702f646f776e6c6f616473)](https://packagist.org/packages/mobizon/mobizon-php)

---

Библиотека для работы с АПИ Mobizon
===================================

[](#библиотека-для-работы-с-апи-mobizon)

[PHP класс](https://github.com/mobizon/mobizon-php/blob/master/src/MobizonApi.php) для работы с Mobizon API - mobizon-php.

Минимальная версия PHP - 5.3.3

Для начала работы с API Вам необходимо сделать три простых шага:

1. [Зарегистрироваться](https://mobizon.com/registrationcountries) в сервисе [Mobizon](https://mobizon.com/)
2. [Включить](https://help.mobizon.com/help/api-docs/sms-api#how-to-set-up-api) в своем аккаунте доступ к API и получить ключ API.
3. Настроить ваше ПО для отправки СМС или других необходимых Вашему бизнес-процессу действий через наше API. См. [документацию API](https://help.mobizon.com/help/api-docs) и [примеры реализации](https://github.com/mobizon/mobizon-php/tree/master/docs/examples).

Подробнее процесс подключения к API описан [на нашем сайте](https://help.mobizon.com/help/api-docs/sms-api).

Composer
========

[](#composer-1)

Пакет для [composer](https://getcomposer.org/) доступен в [packagist](https://packagist.org/packages/mobizon/mobizon-php).

Документация по методам API
===========================

[](#документация-по-методам-api)

Документация с описанием всех доступных на данный момент [методов API](https://help.mobizon.com/help/api-docs), их входных параметров, формата возвращаемых данных, списка возможных [кодов ответа API](https://help.mobizon.com/help/api-docs/other#ApiCode) доступна по адресу .

Примеры реализации типичных сценариев
=====================================

[](#примеры-реализации-типичных-сценариев)

В разделе [docs/examples](https://github.com/mobizon/mobizon-php/tree/master/docs/examples) мы начали собирать для Вас готовые примеры реализации типичных сценариев работы с API на Вашем сайте. Если у Вас есть собственные рабочие варианты использования, будем рады разместить их в нашем репо.

- [Отправка одного SMS сообщения](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/send_message.php)
- [Отправка массовой SMS рассылки](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/send_mass_sms_campaign.php)
- [Получение состояния баланса](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/balance.php)
- [Получение списка доступных для использования подписей (альфаимен)](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/alphanames.php)
- [Сохранение отчета о СМС сообщениях по заданным критериям поиска](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/generate_messages_report_csv.php)
- [Сохранение сводного отчета о СМС кампаниях по заданным критериям поиска](https://github.com/mobizon/mobizon-php/blob/master/docs/examples/generate_campaigns_report_csv.php)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

4

Last Release

2317d ago

Major Versions

1.0.2 → 2.0.12018-05-02

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3297950?v=4)[Ivan Shcherbak](/maintainers/cubezero)[@cubezero](https://github.com/cubezero)

---

Top Contributors

[![cubezero](https://avatars.githubusercontent.com/u/3297950?v=4)](https://github.com/cubezero "cubezero (3 commits)")[![OBudnyk](https://avatars.githubusercontent.com/u/21100807?v=4)](https://github.com/OBudnyk "OBudnyk (2 commits)")[![alexndlm](https://avatars.githubusercontent.com/u/6824784?v=4)](https://github.com/alexndlm "alexndlm (1 commits)")[![teslitsky](https://avatars.githubusercontent.com/u/2118512?v=4)](https://github.com/teslitsky "teslitsky (1 commits)")

---

Tags

apismsmessaginggatewaymobizonA2P

### Embed Badge

![Health badge](/badges/mobizon-mobizon-php/health.svg)

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

PHPackages © 2026

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