PHPackages                             kappelas/kappelas-sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kappelas/kappelas-sdk-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kappelas/kappelas-sdk-php
=========================

Official PHP SDK for the Kappela messaging platform — v0.2.2

v0.8.1(1w ago)06↓77.8%MITPHPPHP &gt;=8.1

Since May 26Pushed 1w agoCompare

[ Source](https://github.com/Arnel7/kappelas-sdk-php)[ Packagist](https://packagist.org/packages/kappelas/kappelas-sdk-php)[ RSS](/packages/kappelas-kappelas-sdk-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (9)Versions (12)Used By (0)

Kappela SDK — PHP
=================

[](#kappela-sdk--php)

[![Packagist](https://camo.githubusercontent.com/bacc7a23fe2bf778a55cd930c3464be6cd71e715907c1bb2bb3b6fdb5819148d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b617070656c61732f6b617070656c61732d73646b2d706870)](https://packagist.org/packages/kappelas/kappelas-sdk-php)[![PHP](https://camo.githubusercontent.com/6518db1335bf20fdff07253dc6d6d0cec955b5fb6a8ef1382ac6d73687ecc07f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e312d626c7565)](https://www.php.net/)[![License: MIT](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](LICENSE)

Official PHP SDK for the [Kappela](https://kappelas.com) messaging platform.
Build bots and personal automations with a clean, typed API.

---

Table of Contents
-----------------

[](#table-of-contents)

- [Prerequisites](#prerequisites)
- [Install](#install)
- [Quick start](#quick-start)
- [Pausing automations](#pausing-automations)
- [PHP type hints &amp; autocompletion](#php-type-hints--autocompletion)
- [Events — WebSocket vs Webhook](#events--websocket-vs-webhook)
- [bot-&gt;reply()](#bot-reply)
- [Message fields](#message-fields)
- [CallbackQuery fields](#callbackquery-fields)
- [API reference](#api-reference)
    - [messages](#messages)
    - [delete\_previous](#delete_previous)
    - [chats](#chats)
    - [Groups &amp; channels](#groups--channels)
        - [Receiving group messages](#receiving-group-messages)
        - [Replying in a group](#replying-in-a-group)
        - [Getting member IDs](#getting-member-ids)
        - [Detecting conversation type](#detecting-conversation-type)
        - [Full group bot example](#full-group-bot-example)
    - [Chat member management](#chat-member-management)
    - [Invite links](#invite-links-admin-only)
    - [getMyGroups](#getmygroups)
    - [communities](#communities)
    - [stories (KappelaUser only)](#stories-kappelauser-only)
    - [webhooks](#webhooks)
    - [profile](#profile)
- [Keyboards](#keyboards)
    - [Comparison](#comparison)
    - [Inline keyboard](#inline-keyboard)
    - [Reply keyboard](#reply-keyboard)
    - [Scroll keyboard](#scroll-keyboard)
    - [Full example](#full-example)
- [Text formatting](#text-formatting)
    - [Inline styles](#inline-styles)
    - [Block code](#block-code)
    - [Blockquote / citation](#blockquote--citation)
    - [Mentions and commands](#mentions-and-commands)
    - [Auto-detected links](#auto-detected-links)
- [Error handling](#error-handling)
- [File input](#file-input)

---

Prerequisites
-------------

[](#prerequisites)

- PHP 8.1+
- Composer

---

Install
-------

[](#install)

```
composer require kappelas/kappelas-sdk-php
```

---

Quick start
-----------

[](#quick-start)

```
