PHPackages                             soroush-app/bot-php-sdk - 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. soroush-app/bot-php-sdk

ActiveLibrary[API Development](/categories/api)

soroush-app/bot-php-sdk
=======================

Soroush Messenger Bot Wrapper for PHP

v1.0(7y ago)18878[14 issues](https://github.com/soroush-app/bot-php-sdk/issues)[3 PRs](https://github.com/soroush-app/bot-php-sdk/pulls)MITPHPPHP &gt;=5.6

Since Sep 22Pushed 4y ago4 watchersCompare

[ Source](https://github.com/soroush-app/bot-php-sdk)[ Packagist](https://packagist.org/packages/soroush-app/bot-php-sdk)[ RSS](/packages/soroush-app-bot-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Soroush Messenger Bot PHP SDK
=============================

[](#soroush-messenger-bot-php-sdk)

Soroush Messenger Bot Wrapper for PHP

Dependencies
------------

[](#dependencies)

- PHP 5.6+
- JSON Extension (php-json)
- cURL Extension (php-curl)

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

[](#installation)

Run the below commands

```
git clone https://github.com/soroush-app/bot-php-sdk
cd bot-php-sdk
composer install
```

Usage
-----

[](#usage)

```
require dirname(__FILE__) . '/vendor/autoload.php';

$bot_token = 'your-bot-token';
$bot = new Soroush\Client($bot_token);
try {
    $to = 'bot user id';
    list($error, $success) = $bot->sendText($to, 'Sample text');
    if($success) {
        echo 'Message sent successfully' . PHP_EOL;
    } else {
        echo 'Fail : ' . $error. PHP_EOL;
    }
} catch (Exception $e) {
    die($e->getMessage());
}
```

More examples are in the [examples](https://github.com/soroush-app/bot-php-sdk/tree/master/examples) folder.

Contribute
----------

[](#contribute)

Contributions to the package are always welcome!

- Report any idea, bugs or issues you find on the [issue tracker](https://github.com/soroush-app/bot-php-sdk/issues).
- You can grab the source code at the package's [Git repository](https://github.com/soroush-app/bot-php-sdk.git).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance4

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

2786d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a7055425725e18d008b870b4447610ebfe4296019977acee294237a6eb921f9?d=identicon)[amir-gholami](/maintainers/amir-gholami)

---

Top Contributors

[![amir-gholami](https://avatars.githubusercontent.com/u/25812214?v=4)](https://github.com/amir-gholami "amir-gholami (1 commits)")

---

Tags

botsdksdk-php

### Embed Badge

![Health badge](/badges/soroush-app-bot-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/soroush-app-bot-php-sdk/health.svg)](https://phpackages.com/packages/soroush-app-bot-php-sdk)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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