evmv/telegram-bundle
最新稳定版本:v1.1.2
Composer 安装命令:
composer require evmv/telegram-bundle
包简介
A bundle for telegram bot
README 文档
README
The bundle uses annotations, which allows you to create flexible telegram bot systems.
Install
Require the bundle and its dependencies with composer:
$ composer require evmv/telegram-bundle
Register the bundle:
// config/bundles.php return [ Evmv\TelegramBot\TelegramBundle::class => ['all' => true] ];
Add your bot key to .env:
BOT_KEY=your_telegram_bot_key
And add route to config/routes.yaml:
telegram: path: /handle controller: Evmv\TelegramBot\Controller\Handle::__invoke
Usage
How To Contribute
To contribute just open a Pull Request with your new code taking into account that if you add new features or modify existing ones you have to document in this README what they do. If you break BC then you have to document it as well.
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-23