turkishjoe / telegram-engine
There is no license information available for the latest version (dev-main) of this package.
dev-main
2023-04-08 10:42 UTC
Requires
- php: >=7.4
- psr/container: ^2.0
README
Hello! There is not completed project. This repository made for show idea.
I wrote telegram bot in laravel. I wanted to create something like this(with autowiring in controller method)
<?php
// in laravel routes/telegram.php
$route->text('/start', [StartController::class, 'index']);
$route->inlineKeyboard('okay_button', [StartController::class, 'okayPressed']);
I made it. But those code uses laravel engine and need to refactor. I started to refactor this and want to move some features to symfony and php/di framework(Maybe it enables to use with swoole, but i'm not sure at now). Also maybe you can use it for implement your own frawerowk.