wildphp / wild-irc-bot
A modular IRC bot written in PHP
Installs: 760
Dependents: 1
Suggesters: 0
Security: 0
Stars: 84
Watchers: 10
Forks: 23
Open Issues: 14
Type:project
Requires
- php: >=5.5.0
- myclabs/php-enum: ^1.4
- react/react: ^0.4
- wildphp/api: *
Requires (Dev)
- dev-master
- 2.0.3
- 2.0.2
- 2.0.1
- v2.0.0
- dev-dependabot/composer/phpunit/phpunit-9.6.10
- dev-dependabot/composer/react/socket-1.13.0
- dev-dependabot/composer/php-di/php-di-6.3.2
- dev-dependabot/composer/phpunit/phpunit-9.5.4
- dev-dependabot/composer/monolog/monolog-2.2.0
- dev-feature/scrutinizer-php8
- dev-feature/github-actions
- dev-fix/whospcrplobserver
This package is auto-updated.
Last update: 2023-09-01 08:23:31 UTC
README
An advanced and scriptable PHP IRC bot.
It is designed to run off a local LAMP, WAMP, MAMP stack or just plain PHP installation. No web server is required, only a working PHP installation.
System requirements
In order to run WildPHP, we ask a few things from your system. Notably:
- A PHP version equal to or higher than 7.1.0.
- Command-line access to the system you plan on running WildPHP on.
- WildPHP will NOT run inside a web server like Apache or Nginx. Do not ask for support for doing so.
- WildPHP has been tested to work on Linux and macOS. Other platforms are not supported and not guaranteed to work.
- For the best experience, we recommend either using the included systemd service (adjust it to your needs) or using tmux or screen to allow the bot to run in the background.
IRC Community & Support
If you need help or just want to idle in the IRC channel join us at #wildphp@irc.freenode.net. Development discussion in #wildphp-dev@irc.freenode.net.
Features and Functions
Right now this version of the bot is under heavy development, therefore the feature list is not definitive. We will update this once a reliable list becomes available.
Installation
To install the latest development build, you need Composer. Install WildPHP using the following commands:
$ git clone https://github.com/WildPHP/irc-bot
$ cd irc-bot
$ composer install
This will pull all Composer dependencies required to run the bot.
Please note that the bot may be unstable and that it might not even start. Please file a bug if you encounter an issue!
Configuration
Copy the example configuration file and edit it to suit your needs. Carefully read the comments.
$ cp config/config.sample.php config/config.php
Running the bot
While you can run the bot in a terminal it is best to run it in tmux or screen so that it can run in background.
$ php bin/wildphp.php
Alternatively, a systemd
service is included. Edit it (carefully read the comments), then drop it in /etc/systemd/system/
. Issue a systemctl daemon-reload
afterwards and you should be able to use the service.
Contributors
You can see the full list of contributors in the GitHub repository.