2017 © Pedro Peláez
 

project demo-chat

Kraken Demo Chat Application

image

kraken-php/demo-chat

Kraken Demo Chat Application

  • Thursday, October 13, 2016
  • by khelle
  • Repository
  • 3 Watchers
  • 45 Stars
  • 338 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 14 Forks
  • 5 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

Kraken Demo Application - Chat

Total Downloads Latest Stable Version Latest Unstable Version License Gitter @kraken_php on Twitter, (*1)

Note: This repository contains pre-configured distributed chat application based on Kraken Framework., (*2)


, (*3)

, (*4)

Description

This repository demonstrates exemplary implementation of chat using HTTP and Websocket servers in PHP using Kraken Framework components., (*5)

Architecture

, (*6)

Screenshots

, (*7)

Requirements

  • PHP-5.5, PHP-5.6 or PHP-7.0+,
  • Pthreads extension enabled (only if you want to use threading),
  • UNIX or ~~Windows~~ OS.

Installation and Official Documentation

To install this application skeleton, please go to desired location to store project, then call composer:, (*8)

composer create-project --prefer-dist kraken-php/demo-chat .

Documentation for the framework can be found in the official documentation page., (*9)

Starting Project

Basic Start

To start project, first run kraken.server instance., (*10)

$> php kraken.server

Then, check if connection is working in another terminal window:, (*11)

$> php kraken server:ping

If everything works correctly, as final step run the application using:, (*12)

$> php kraken project:create

After project has been created successfully, go to http://localhost:6080 address in your browser and you should be able to see and use examplary chat., (*13)

To close whole project, use:, (*14)

$> php kraken project:destroy

If you have problems with configuring console-server connection, you can also try alternative start., (*15)

Alternative Start

To start project directly, without console support, use:, (*16)

$> php ./data/autorun/kraken.process undefined HttpBroker HttpBroker

WARNING This method will be deprecated in upcoming ver 0.4., (*17)

Contributing

This library is pre-configured project application for Kraken Framework. To make contributions, please go to framework repository., (*18)

License

Kraken Framework is open-sourced software licensed under the MIT license. The documentation is provided under FDL-1.3 license., (*19)

The Versions