PHPackages                             aqjw/tele-step-handler - 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. aqjw/tele-step-handler

ActiveLibrary

aqjw/tele-step-handler
======================

v1.0.9(4y ago)028MITPHPPHP ^7.3|^8.0

Since Mar 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aqjw/tele-step-handle)[ Packagist](https://packagist.org/packages/aqjw/tele-step-handler)[ RSS](/packages/aqjw-tele-step-handler/feed)WikiDiscussions master Synced 1mo ago

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

Tele Step Handler
=================

[](#tele-step-handler)

Simple telegram actions. Just check this shit.

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

[](#installation)

Install via composer

```
composer require aqjw/tele-step-handler
```

Publish config

```
php artisan vendor:publish --provider="Aqjw\TeleStepHandler\TeleStepHandlerServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

Create your step and extends with `TeleStepHandlerAbstract`

```
namespace App\Telegram\Steps;

use Aqjw\TeleStepHandler\TeleStepHandlerAbstract;
use Aqjw\TeleStepHandler\Steps\TeleStepCommand;
use Aqjw\TeleStepHandler\Steps\TeleStepButton;

class MainSteps extends TeleStepHandlerAbstract
{
    public function handler()
    {
        return [
            new TeleStepCommand('/start', function () {
                $this->bot->sendMessage([
                    'text' => 'This is start command',
                    'reply_markup' => [
                        'inline_keyboard' => [[['text' => 'Do something', 'callback_data' => 'do_something']]]
                    ]
                ]);

                return true; // stop checking other steps
            }),

            new TeleStepButton('do_something', function () {
                $this->bot->sendMessage(['text' => 'Something did']);

                return true; // stop checking other steps
            }),
        ];
    }

    public function trigger($args)
    {
        return true;
    }
}
```

Register your step `App\Telegram\Steps\MainSteps::class` in `config/tele_steps.php`

```
    'steps' => [
        //
        App\Telegram\Steps\MainSteps::class,
    ],
```

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Every ~24 days

Recently: every ~48 days

Total

9

Last Release

1682d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bbc50eee573168342cf8eaa53bcc09048939b7dc4bb79187133c919ce6e1e8b?d=identicon)[aqjw](/maintainers/aqjw)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/aqjw-tele-step-handler/health.svg)

```
[![Health](https://phpackages.com/badges/aqjw-tele-step-handler/health.svg)](https://phpackages.com/packages/aqjw-tele-step-handler)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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