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[17 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 1mo ago

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

25

—

LowBetter than 36% of packages

Maintenance1

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity57

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

2837d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25812214?v=4)[Amir Gholami](/maintainers/amir-gholami)[@amir-gholami](https://github.com/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

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1942.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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