PHPackages                             liagkos/yuboto-sms - 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. liagkos/yuboto-sms

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

liagkos/yuboto-sms
==================

Yuboto SMS API consumer

v1.0.1(5y ago)1102[1 PRs](https://github.com/liagkos/yuboto-sms/pulls)MITPHP

Since Nov 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/liagkos/yuboto-sms)[ Packagist](https://packagist.org/packages/liagkos/yuboto-sms)[ RSS](/packages/liagkos-yuboto-sms/feed)WikiDiscussions master Synced today

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

Consumer for Yuboto SMS API
===========================

[](#consumer-for-yuboto-sms-api)

- Written for PHP &gt;= 7
- Easy to parse results
- Based on OMNI API Documentation v1.2
- Using [Guzzle](https://github.com/guzzle/guzzle) for communication
- Using [Carbon](https://github.com/briannesbitt/Carbon) for date manipulation

Why did I write this
--------------------

[](#why-did-i-write-this)

I wanted to use Guzzle, and I wanted to use IDE autocomplete capabilities. There is no other reason, API is very simple and easy to use, even without my library.

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

[](#installation)

Install the package using Composer:

```
composer require liagkos/yuboto-sms

```

Usage
-----

[](#usage)

```
use Liagkos\SMS\Yuboto\Request;

require_once 'vendor/autoload.php';

$token   = 'API-token';
$command = 'Command';
$params  = ['param1' => 'value1', 'param2' => 'value2'];

$response = Request::exec($token, $command, $params);

if ($response['success']) {
    print_r(Response::($response['response']));
} else {
    echo 'Error (' . $response['type'] . '): ' . $response['msg'] . ' ('. $response['code'] .')';
}
```

Details
-------

[](#details)

- **$token** is the API token you received from Yuboto
- **$command** is **case sensitive** and may be one of the following
    - Send - Send SMS/Viber message
    - Dlr - Retrieve message status in real time
    - Cost - Retrieve cost information per country/network
    - CostDetails - Retrieve cost information per network
    - Balance - Check your balance
    - Cancel - Cancel a scheduled message
    - CreateKey - Create sub-user API key
    - verifypin - Verify PIN for TFA messages
    - DlrPhonenumber - Get details for sent messages for specific phonenumber
- **$params** is null or the parameters for the specific command
- **Response** is **case sensitive** and may be one of the following
    - Send - For *Send* commands
    - Dlr - For *Dlr* commands
    - Cost - For *Cost* commands
    - CostDetails - For *CostDetails* commands
    - Balance - For *Balance* commands
    - Cancel - For *Cancel* commands
    - CreateKey - For *CreateKey* commands
    - VerifyPin - For *verifypin* commands
    - DlrPhonenumber - For *DlrPhonenumber* commands

> Check the PDF guide in tech-specs folder for detailed information on commands and parameters. There is no point to repeat the documentation here.

Response
--------

[](#response)

- $response\['success'\] = false - Error
    - $response\['type'\] = comm|api
    - $respone\['msg'\] = Error message
    - $response\['code'\] = Error code
- $response\['success'\] == true - OK
    - $reponse\['response'\] = Guzzle Body Object

Other information
-----------------

[](#other-information)

- All responses are \\Liagkos\\SMS\\Yuboto\\Object\\Something objects, thorough defined in *Object* folder, following API definitions
- **submitDate** and **dlrDate** of *Dlr* and *DlrPhonenumber* commands are **Carbon** date objects

Finally
-------

[](#finally)

I'm **NOT** related with Yuboto and *Yuboto* word is their respective trademark. I have no responsibilty of any misuse of the program or any damage or loss you may have, inlcuding financial damage or loss. Use it are your own risk.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

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

Total

2

Last Release

2055d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15843357?v=4)[nasos](/maintainers/liagkos)[@liagkos](https://github.com/liagkos)

---

Top Contributors

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

---

Tags

smssms-apisms-gatewaysms-serviceyuboto

### Embed Badge

![Health badge](/badges/liagkos-yuboto-sms/health.svg)

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

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[sunchayn/nimbus

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

29428.0k](/packages/sunchayn-nimbus)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[repat/plentymarkets-rest-client

REST Client for Plentymarkets

1510.0k](/packages/repat-plentymarkets-rest-client)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)

PHPackages © 2026

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