Download the PHP package rasa/telekit without Composer
On this page you can find all versions of the php package rasa/telekit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package telekit
Short Description Library for creating telegram bots
License MIT
Homepage https://matesite.uz
Informations about the package telekit
Telekit framework
About Telekit
Telekit is a powerful toolkit for building Telegram bots with ease, using Laravel Eloquent ORM. With Telekit, developers can quickly build and deploy bots, saving time and effort.
One of the standout features of Telekit is its support for Laravel Eloquent ORM, which allows developers to easily interact with the database and perform complex operations with just a few lines of code. This makes it simple to manage data within your Telegram bot and keep your code organized and maintainable.
Telekit also provides a range of tools and utilities for working with the Telegram API, making it easy to handle incoming messages, send messages to users, and perform other common bot tasks. Developers can take advantage of Telekit's intuitive API to quickly build and test new bot features, without having to worry about the underlying details of the Telegram protocol.
Requirements
- PHP version 8.0
- Postgres, Mysql, Sqlite database
- Running migrations (chats table)
To install Telekit library using Composer, you can follow these steps:
Open a terminal or command prompt and navigate to your project directory.
Run the following command:
This will download and install the Telekit library and all its dependencies into your project's vendor directory.
Once the installation is complete, you can start using Telekit by including its autoload file in your code
- my website
- Receive updates in the browser https://api.telegram.org/bot{TOKEN}/getUpdates
- Set up a webhook https://api.telegram.org/bot{TOKEN}/setwebhook?url=https://test.com/example_bot/index.php
- Delete a webhook https://api.telegram.org/bot{TOKEN}/deleteWebhook
"artisan" commands
With the command "php artisan", you can interact with the bot. Here are some examples:
Polling
Process requests on your local computer without using hooks using the polling method
To see all available commands
Sending messages
Sends to all users
Specify the chat id
Specify message
"make" command
Creating template Interaction files
Creating template Trigger files
Creating template Migration files
Creating template Model files
"database" command
Get database
Parameters
Check database version
Show tables
Output table contents
Describe table
Output the contents of a specific table field
run migrations
undo all migration
See responses
Send responses
reply message
Send message
Send message with buttons
Send photo
Send document
Send media files
InlineQueries
Send invoice
All versions of telekit with dependencies
guzzlehttp/guzzle Version ^6.5
vlucas/phpdotenv Version ^5.5
illuminate/database Version ^10.9
illuminate/collections Version ^10.9
doctrine/dbal Version ^3.6
ext-curl Version *
ext-pdo Version *
symfony/console Version ^6.2
eftec/bladeone Version ^4.9