PHPackages                             spherepack/bot-creator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. spherepack/bot-creator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

spherepack/bot-creator
======================

You can easily create your own bot and work with it

1.2.2(1y ago)11.0k↓50%MITPHPPHP ^7.4 || ^8

Since Nov 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Spherepack/bot-creator)[ Packagist](https://packagist.org/packages/spherepack/bot-creator)[ Docs](https://github.com/Spherepack/bot-creator)[ RSS](/packages/spherepack-bot-creator/feed)WikiDiscussions main Synced 1mo ago

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

spherepack/bot-creator
======================

[](#spherepackbot-creator)

You can easily create your own bot and work with it

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

[](#installation)

```
composer require spherepack/bot-creator
```

Usage
-----

[](#usage)

```
$bot = new TelegramBot(TOKEN)
```

Example
-------

[](#example)

```
$bot = new TelegramBot(TG_TOKEN);
if (!$bot->isAnswer()){
    $bot->setUserId(TG_TEST_USER_ID);
    $bot->setMessage('регистрация');
}

$command = new BotRouter(new TelegramCommands());
$message = $command->call($bot->getMessage(), $bot->getUserId());

$bot->setMessage($message);
$bot->setKeyboard(['Регистрация']);
echo json_encode($bot->send(), JSON_UNESCAPED_UNICODE);
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~131 days

Recently: every ~327 days

Total

11

Last Release

707d ago

PHP version history (2 changes)1.0PHP ^7.2 || ^8

1.2PHP ^7.4 || ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/de4842017355c23b0321943a555b3282c9ffc3c6a965fb0803758da3308b0f32?d=identicon)[spherepack](/maintainers/spherepack)

---

Top Contributors

[![autorun71](https://avatars.githubusercontent.com/u/45606310?v=4)](https://github.com/autorun71 "autorun71 (3 commits)")[![Spherepack](https://avatars.githubusercontent.com/u/73831887?v=4)](https://github.com/Spherepack "Spherepack (2 commits)")

### Embed Badge

![Health badge](/badges/spherepack-bot-creator/health.svg)

```
[![Health](https://phpackages.com/badges/spherepack-bot-creator/health.svg)](https://phpackages.com/packages/spherepack-bot-creator)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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