PHPackages                             epochblue/philip - 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. epochblue/philip

AbandonedArchivedLibrary[Framework](/categories/framework)

epochblue/philip
================

A Slim-inspired IRC bot framework

v1.0.1(12y ago)343569[6 issues](https://github.com/epochblue/philip/issues)[1 PRs](https://github.com/epochblue/philip/pulls)1MITPHPPHP &gt;=5.3.3

Since Oct 28Pushed 12y agoCompare

[ Source](https://github.com/epochblue/philip)[ Packagist](https://packagist.org/packages/epochblue/philip)[ Docs](https://github.com/epochblue/philip)[ RSS](/packages/epochblue-philip/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (3)Used By (1)

Philip - a PHP IRC bot framework
================================

[](#philip---a-php-irc-bot-framework)

[![Build Status](https://camo.githubusercontent.com/8b84a7e8f54dbb57327869dcb255168c013f788af7d5f612b43bf60226e4cd4a/68747470733a2f2f7472617669732d63692e6f72672f65706f6368626c75652f7068696c69702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/epochblue/philip)

Philip is a [Slim](http://slimframework.com/)-inspired framwork for creating simple IRC bots. It was written by [Bill Israel](http://billisrael.info/). The purpose of the project is to allow people to create fun, simple IRC bots with minimal overhead or complexity.

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

[](#requirements)

- PHP 5.3.3+
- [Composer](http://getcomposer.org/)

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

[](#installation)

The best way to create a bot based on Philip is to use [Composer](http://getcomposer.org/). From the command line, create a directory for your bot. In this directory, first download Composer:

```
$> curl -s http://getcomposer.org/installer | php
```

Then create and open a `composer.json` file. Add Philip to the list of required libraries:

```
{
    "require": {
        "epochblue/philip": "1.0.*"
    }
}
```

Run Composer's install command to download and install the Philip library:

```
$> php composer.phar install -v
```

Once this is complete, your directory should have a few new items (a `composer.lock` file, and a `vendors` directory) in it, and you should be ready to go. All that's left is to create the the bot. You can name your bot whatever you want, though `bot.php` is nice and easy. Here's a basic example:

```
// bot.php
