定制 rudestan/teebot 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rudestan/teebot

Composer 安装命令:

composer require rudestan/teebot

包简介

Yet another Telegram bot framework.

README 文档

README

Build Status Scrutinizer Code Quality Coverage Status

Teebot is yet another Telegram bot API framework. The main difference from other implementations that it is fully object oriented, very flexible, easy to extend and configure. You can focus on business logic implementation and do not think about implementation of manual Telegram API calls. It has object oriented architecture yet quite simple and understandable. Additionally you can create and run as many bots as you want at the same time.

Usage

The very first step is installation of the required packages. To install the packages please run

composer install

To run your bots you can use command line application called just like the package teebot and placed in bin directory.

If you would like to tryout the example bot from the package just rename or copy the file .env.template to .env and modify it with your own data. The only thing you have to provide is Telegram's API Token. If you do not have one yet you can easily get it from the official Telegram's web site.

After you got the token and set it in the .env you are ready to run the example bot. So from the command line just run:

php bin/teebot listener:start Bot/Example

Then find your bot in Telegram client and send the message /me or /foo to it. You should now see the message "Me command triggered!" in the console where you started your bot.

Capability

PHP 7.1 and higher (for version 5.6 please check the php_56 branch, but it wont be supported anymore)

统计信息

  • 总下载量: 29
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固