Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infomaniak/kchat-bot-php
https://github.com/infomaniak/kchat-bot-php
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/infomaniak/kchat-bot-php
- Owner: Infomaniak
- Created: 2023-01-30T16:10:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T08:52:25.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T09:52:00.358Z (about 2 months ago)
- Language: PHP
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kchat-bot-php
This is an example on how you can connect to the kChat websocket in PHP in order to create a bot.
```shell
cp .env.example .env
```Create a bot user and edit the `.env` file with your kChat instance url, the bot token and your team id.
```shell
php kchat-bot
```