Download the PHP package kraken-php/demo-chat without Composer
On this page you can find all versions of the php package kraken-php/demo-chat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kraken-php/demo-chat
More information about kraken-php/demo-chat
Files in kraken-php/demo-chat
Informations about the package demo-chat
Kraken Demo Application - Chat
Note: This repository contains pre-configured distributed chat application based on Kraken Framework.
Description
This repository demonstrates exemplary implementation of chat using HTTP and Websocket servers in PHP using Kraken Framework components.
Architecture
Screenshots
Requirements
- PHP-5.5, PHP-5.6 or PHP-7.0+,
- Pthreads extension enabled (only if you want to use threading),
- UNIX or
WindowsOS.
Installation and Official Documentation
To install this application skeleton, please go to desired location to store project, then call composer:
Documentation for the framework can be found in the official documentation page.
Starting Project
Basic Start
To start project, first run kraken.server
instance.
$> php kraken.server
Then, check if connection is working in another terminal window:
$> php kraken server:ping
If everything works correctly, as final step run the application using:
$> 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.
To close whole project, use:
$> php kraken project:destroy
If you have problems with configuring console-server connection, you can also try alternative start.
Alternative Start
To start project directly, without console support, use:
$> php ./data/autorun/kraken.process undefined HttpBroker HttpBroker
WARNING This method will be deprecated in upcoming ver 0.4.
Contributing
This library is pre-configured project application for Kraken Framework. To make contributions, please go to framework repository.
License
Kraken Framework is open-sourced software licensed under the MIT license. The documentation is provided under FDL-1.3 license.
All versions of demo-chat with dependencies
kraken-php/channel Version 0.3.*
kraken-php/config Version 0.3.*
kraken-php/console Version 0.3.*
kraken-php/container Version 0.3.*
kraken-php/core Version 0.3.*
kraken-php/environment Version 0.3.*
kraken-php/event Version 0.3.*
kraken-php/filesystem Version 0.3.*
kraken-php/ipc Version 0.3.*
kraken-php/log Version 0.3.*
kraken-php/loop Version 0.3.*
kraken-php/network Version 0.3.*
kraken-php/promise Version 0.3.*
kraken-php/root Version 0.3.*
kraken-php/runtime Version 0.3.*
kraken-php/stream Version 0.3.*
kraken-php/supervision Version 0.3.*
kraken-php/throwable Version 0.3.*
kraken-php/util Version 0.3.*