PHPackages                             buzzmoody/sharkordbot - 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. [Framework](/categories/framework)
4. /
5. buzzmoody/sharkordbot

Abandoned → [buzzmoody/sharkordphp](/?search=buzzmoody%2Fsharkordphp)Library[Framework](/categories/framework)

buzzmoody/sharkordbot
=====================

A ReactPHP Chatbot Framework for Sharkord

3.1.0(1mo ago)175↓33.3%MITPHPPHP ^8.5CI passing

Since Feb 15Pushed 1mo agoCompare

[ Source](https://github.com/BuzzMoody/SharkordPHP)[ Packagist](https://packagist.org/packages/buzzmoody/sharkordbot)[ RSS](/packages/buzzmoody-sharkordbot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (30)Used By (0)

SharkordPHP
===========

[](#sharkordphp)

**A ReactPHP Chatbot Framework for Sharkord**

 [![Description](https://camo.githubusercontent.com/35f0be226b14f5b070e151753a1c8382b5e4a14e109155d19c4b66d7de26d227/68747470733a2f2f736861726b6f72647068702e78797a2f6c6f676f2e706e67)](https://camo.githubusercontent.com/35f0be226b14f5b070e151753a1c8382b5e4a14e109155d19c4b66d7de26d227/68747470733a2f2f736861726b6f72647068702e78797a2f6c6f676f2e706e67)

SharkordPHP is a lightweight, asynchronous, vibe-coded [Sharkord](https://github.com/Sharkord/sharkord) framework built on top of [ReactPHP](https://reactphp.org/). It handles the heavy lifting of WebSocket connections and event management, allowing you to focus on writing commands and logic.

Documentation
-------------

[](#documentation)

For details documentation, please visit:

Features
--------

[](#features)

- **Asynchronous:** Built on ReactPHP's event loop for non-blocking I/O.
- **Simple Command System:** Create commands by simply dropping files into a folder.
- **State Management:** Built-in caching for Users and Channels.
- **Zero Config Autoloading:** No need to mess with `composer.json` to register your commands.

Requirements
------------

[](#requirements)

- PHP 8.5 or higher
- Composer

Installation
------------

[](#installation)

Install the SharkordPHP framework (which provides the Sharkord classes used in the examples below) into your project using Composer:

```
composer require buzzmoody/sharkordphp
```

Getting Started
---------------

[](#getting-started)

### 1. Create your project structure

[](#1-create-your-project-structure)

You only need a single PHP file to run the bot and a folder for your commands. Your project folder should look like this:

```
my-bot/
├── vendor/
