PHPackages                             cyrille-hugues/alyosha - 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. cyrille-hugues/alyosha

ActiveLibrary[Framework](/categories/framework)

cyrille-hugues/alyosha
======================

PHP framework for bots

1.0(10y ago)015MITPHPPHP &gt;=5.4

Since Aug 1Pushed 8y agoCompare

[ Source](https://github.com/CyrilleHugues/Alyosha)[ Packagist](https://packagist.org/packages/cyrille-hugues/alyosha)[ RSS](/packages/cyrille-hugues-alyosha/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Alyosha
=======

[](#alyosha)

What is this ?
--------------

[](#what-is-this-)

Alyosha is a framework for IRC bot, and basically a event driven framework to fiddle with for any purpose – be it a cross social media bot or a web server (please don't do this).

Why ?
-----

[](#why-)

Because the other framework for IRC were entirely focused on IRC and I wanted something cross medium. By writing a module, you can wire up Slack, Facebook bot, ...

It's written in PHP because I like this language pretty much and I started before thinking about the asynchronous needs of this project.

Usage
-----

[](#usage)

### Requirements

[](#requirements)

- PHP, no kidding
- [composer](https://getcomposer.org/download/)

### Installation

[](#installation)

Create a new composer project with this library.

```
mkdir myBot && cd myBot
composer init --require CyrilleHugues/Alyosha:*
composer install
```

Add the following `bot.php` to the project

```
