2017 © Pedro Peláez
 

library php-chat

A multi-user multi-room ratchet server

image

anders/php-chat

A multi-user multi-room ratchet server

  • Sunday, March 19, 2017
  • by anders2014
  • Repository
  • 0 Watchers
  • 2 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 11 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

anders/php-chat

Build Status, (*1)

Introduction

A multi-user multi-room ratchet server., (*2)

Requirements

This library package requires PHP 5.4 or later., (*3)

Installation

Installing via Composer

The recommended way to install php-chat is through Composer., (*4)

# Install Composer
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest version of php-chat:, (*5)

composer.phar require anders/php-chat

After installing, you need to require Composer's autoloader:, (*6)

require 'vendor/autoload.php';

Usage

An example is provided in the example/ directory. Start the server with the command:, (*7)

php example/server.php

An barebones example HTML client interface is located at example/client.html. You will need to update the chatUrl variable in example/chat.js with the host name (or ip address) of the server you ran the previous command on., (*8)

var chatUrl = 'ws://your-host-name:9911';

A prettier React and Semantic UI client interface is located at pmill/react-chat., (*9)

Version History

0.2.1 (27/07/2017), (*10)

  • Added Avatar variables and functions

0.2.0 (09/07/2015), (*11)

  • Separated server and output into separate classes
  • Added user defined message logging

0.1.0 (08/07/2015), (*12)

  • First public release of php-chat

php-chat Copyright (c) 2015 pmill (dev.pmill@gmail.com) All rights reserved., (*13)

The Versions

19/03 2017

dev-master

9999999-dev https://github.com/pmill/php-chat

A multi-user multi-room ratchet server

  Sources   Download

MIT

The Requires

 

The Development Requires

php chat web socket ratchet

19/03 2017

0.2.1

0.2.1.0 https://github.com/pmill/php-chat

A multi-user multi-room ratchet server

  Sources   Download

MIT

The Requires

 

The Development Requires

php chat web socket ratchet

19/03 2017

0.2.2

0.2.2.0 https://github.com/pmill/php-chat

A multi-user multi-room ratchet server

  Sources   Download

MIT

The Requires

 

The Development Requires

php chat web socket ratchet

08/07 2015

0.2.0

0.2.0.0 https://github.com/pmill/php-chat

A multi-user multi-room ratchet server

  Sources   Download

MIT

The Requires

 

The Development Requires

php chat web socket ratchet