PHPackages                             uo/uobot - 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. uo/uobot

ActiveLibrary

uo/uobot
========

uobot is a library for php to develop messenger chatbot using oop, classes.

1.0.0(7y ago)213MITPHP

Since Jul 27Pushed 3mo agoCompare

[ Source](https://github.com/osamaesmail/uobot)[ Packagist](https://packagist.org/packages/uo/uobot)[ RSS](/packages/uo-uobot/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

uobot
=====

[](#uobot)

uobot is a library for php to develop messenger chatbot using oop, and send all types of templates, attachments and quickreplies, and setup page profile (greeting text, getstarted button, persistent menu), and listen to many types of messages.

[![UOBot Image 1](https://camo.githubusercontent.com/ffb976d7140a9a188459f5e2985ad975b749c5c26a60dfe958698a9266cb88b1/68747470733a2f2f6d657373656e6765722e66622e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30322f6769656f66676c6f62655f7461626c6561752e706e673f773d35313626683d3437342c25323068747470733a2f2f6d657373656e6765722e66622e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30322f6769656f66676c6f62655f7461626c6561752e706e673f773d3130333226683d3934382532303278)](https://camo.githubusercontent.com/ffb976d7140a9a188459f5e2985ad975b749c5c26a60dfe958698a9266cb88b1/68747470733a2f2f6d657373656e6765722e66622e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30322f6769656f66676c6f62655f7461626c6561752e706e673f773d35313626683d3437342c25323068747470733a2f2f6d657373656e6765722e66622e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30322f6769656f66676c6f62655f7461626c6561752e706e673f773d3130333226683d3934382532303278)

[![UOBot Image 1](https://camo.githubusercontent.com/7fb71775ff06d46bd7ffeb2bc945a6e153d2e35ef302a5db79dd702ff6e50adb/68747470733a2f2f6d657373656e6765722e66622e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30312f335f656e61626c657472616e73616374696f6e7331312e706e673f773d35313026683d3636322c25323068747470733a2f2f6d657373656e6765722e66622e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30312f335f656e61626c657472616e73616374696f6e7331312e706e673f773d3130323026683d313332342532303278)](https://camo.githubusercontent.com/7fb71775ff06d46bd7ffeb2bc945a6e153d2e35ef302a5db79dd702ff6e50adb/68747470733a2f2f6d657373656e6765722e66622e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30312f335f656e61626c657472616e73616374696f6e7331312e706e673f773d35313026683d3636322c25323068747470733a2f2f6d657373656e6765722e66622e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30312f335f656e61626c657472616e73616374696f6e7331312e706e673f773d3130323026683d313332342532303278)

[Our demo](http://m.me/uobot123)
--------------------------------

[](#our-demo)

You can test our [demo](http://m.me/uobot123) at facebook to see the types of messeges and how it will be like.

Installing
----------

[](#installing)

- Require the plugin using composer

```
composer require uo/uobot
```

Get Started
-----------

[](#get-started)

- Setup and verify webhook

```
Webhook::verify('VERIFY_TOKEN');
```

- Set your facebook page token

```
Config::setToken('YOUR_PAGE_TOKEN');
```

- Send your first message

this code listen to message hi and send reply hello.

```
UOBot::onMessage('hi',function ($uoBot){
    $uoBot->send('hello');
});
```

Table of Contents
-----------------

[](#table-of-contents)

- [Get Started](https://github.com/osamaesmail/uobot/wiki/Home)
- [UOBot functions](https://github.com/osamaesmail/uobot/wiki/UOBot-Functions)
- [Send Quick Replies](https://github.com/osamaesmail/uobot/wiki/Send-Quick-Replies)
- [Send Generic Template](https://github.com/osamaesmail/uobot/wiki/Send-generic-template)
- [Send List Template](https://github.com/osamaesmail/uobot/wiki/Send-List-template)
- [Send Button Template](https://github.com/osamaesmail/uobot/wiki/Send-Button-template)
- [Send OpenGraph Template](https://github.com/osamaesmail/uobot/wiki/Send-OpenGraph-template)
- [Send Receipt Template](https://github.com/osamaesmail/uobot/wiki/Send-Receipt-template)
- [Send Attachments](https://github.com/osamaesmail/uobot/wiki/Send-Attcahments-template)
- [Button Types](https://github.com/osamaesmail/uobot/wiki/Button-Types)
- [Set Get Started Button](https://github.com/osamaesmail/uobot/wiki/Set-Get-Started-Button)
- [Set Get Greeting Text](https://github.com/osamaesmail/uobot/wiki/Set-Greeting-Text)
- [Set Get Persistent Menu](https://github.com/osamaesmail/uobot/wiki/Set-Persistent-Menu)

Authors
-------

[](#authors)

- **Osama Esmail** - *Initial work* - [osamaesmail](https://github.com/osamaesmail)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance54

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

2846d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7670e9cf4ac4e712cac96e5b55f1a29588d49e62978f47404928eb9c53b74de5?d=identicon)[osamaesmail](/maintainers/osamaesmail)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/uo-uobot/health.svg)

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

PHPackages © 2026

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