Skip to content

Websocket Chat is a simple websocket implementation in PHP and javascript. The server is entirely written in PHP and it utilizes standard built-in PHP socket functions.

jakubpas/websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

Websocket Chat is a simple websocket implementation in PHP and javascript. The server is entirely written in PHP and it utilizes standard built-in PHP socket functions.

How to use

1. You might change host address and port in config.php

2. In terminal type: 
	php run.php
3. In other terminal window type:		
	php -S localhost:8000 -t web/

4. Using browser, navigate to http://localhost:8000

Motivation

The idea of this package is to create simple websocket implementation in PHP

Installation

composer require jakubpas/websocket

API Reference

The API Reference are yet to be added.

Tests

The test are yet to be added.

Contributors

(c) 2015 by Jakub Pas

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Websocket Chat is a simple websocket implementation in PHP and javascript. The server is entirely written in PHP and it utilizes standard built-in PHP socket functions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published