PHP Classes

PHP IRC Server: Implement an IRC chat server in pure PHP

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 407 All time: 6,511 This week: 44Up
Version Licenses PHP version Categories
irc-server 1.1Artistic License, B...5Networking, PHP 5, Chat
Description 

Author

This package can implement an IRC chat server in pure PHP.

It can listen to TCP socket connections on a given IP address and port and can handle IRC commands sent by the users that connect to the server. A configurable limit number of users can be accepted.

Currently it supports the commands NICK, USER, MOTD with a configurable message, LUSERS, VERSION, PRIVMSG, WHOIS, OPER, KILL, CHGHOST, REHASH, NOTICE, JOIN, TOPIC, MODE, SAMODE, USERHOST, PART, NAMES, LIST and PING.

The list of users that can login as operators and their passwords is also configurable.

Innovation Award
PHP Programming Innovation award winner
October 2015
Winner
IRC is an old and still popular protocol to allow users to communicate in chat rooms.

This class can be used to implement an IRC server that is written in pure PHP. It supports a significant number of commands.

It can be run in many PHP hosting servers including shared hosting services that have not blocked higher TCP ports.

Manuel Lemos
Picture of Nick Daniels
  Performance   Level  
Name: Nick Daniels <contact>
Classes: 13 packages by
Country: United States United States
Age: 34
All time rank: 1107160 in United States United States
Week rank: 21 Up2 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file configs.php Conf. Configuration File
Plain text file IRCd.php Class IRCd Class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:407
This week:0
All time:6,511
This week:44Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2784