PHPackages                             kraken-php/demo-chat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. kraken-php/demo-chat

ActiveProject[Framework](/categories/framework)

kraken-php/demo-chat
====================

Kraken Demo Chat Application

v0.3.0(9y ago)4941014[5 issues](https://github.com/kraken-php/demo-chat/issues)MITPHPPHP &gt;=5.5.9

Since Sep 30Pushed 9y ago5 watchersCompare

[ Source](https://github.com/kraken-php/demo-chat)[ Packagist](https://packagist.org/packages/kraken-php/demo-chat)[ RSS](/packages/kraken-php-demo-chat/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (20)Versions (3)Used By (0)

Kraken Demo Application - Chat
==============================

[](#kraken-demo-application---chat)

[![Total Downloads](https://camo.githubusercontent.com/f4100965f81a5af045e739c8e7169a4be4711527ea97e301abb7dd4c547ba4af/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f64656d6f2d636861742f646f776e6c6f616473)](https://packagist.org/packages/kraken-php/demo-chat)[![Latest Stable Version](https://camo.githubusercontent.com/234e6493eab80240282605c51c67921ff27f8d638682fec218e1cefa8c2c1e3e/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f6672616d65776f726b2f762f737461626c65)](https://packagist.org/packages/kraken-php/framework)[![Latest Unstable Version](https://camo.githubusercontent.com/a4533c7bde11f13b4d031172fc132540a90dd65688412741b1571bcd4d25b31c/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f6672616d65776f726b2f762f756e737461626c65)](https://packagist.org/packages/kraken-php/framework)[![License](https://camo.githubusercontent.com/7b3d640f212d4ca5dfa30751f70cef9fd309f7b19fdd33448b776f26fdfdd42f/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f6672616d65776f726b2f6c6963656e7365)](https://packagist.org/packages/kraken-php/framework)[![Gitter](https://camo.githubusercontent.com/c4356ecf40eb512dcbda2f64524e01647a5b940b86053b96fcd97e5df2cdf150/68747470733a2f2f6261646765732e6769747465722e696d2f6b72616b656e2d7068702f6672616d65776f726b2e737667)](https://gitter.im/kraken-php/framework?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)[![@kraken_php on Twitter](https://camo.githubusercontent.com/0cf55ab3b83fe1faa0a276e8e780fda02f0e745b6cbc4f1fa40d29e43abeb395/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d2534306b72616b656e5f5f7068702d626c75652e737667)](https://twitter.com/kraken_php)

> **Note:** This repository contains pre-configured distributed chat application based on [Kraken Framework](https://github.com/kraken-php/framework).

[![](https://avatars2.githubusercontent.com/u/15938282?v=3&s=150)](https://avatars2.githubusercontent.com/u/15938282?v=3&s=150)

Description
-----------

[](#description)

This repository demonstrates exemplary implementation of chat using HTTP and Websocket servers in PHP using [Kraken Framework](https://github.com/kraken-php/framework) components.

Architecture
------------

[](#architecture)

[![](https://camo.githubusercontent.com/a7d064038c613ecac042fc7e4e0d1261ee2f7c291dc23bc18a672dcc418006d4/68747470733a2f2f646f63732e676f6f676c652e636f6d2f75633f6578706f72743d646f776e6c6f61642669643d30425f4656754231306b506a56576c5a4d654446526144426f544530)](https://camo.githubusercontent.com/a7d064038c613ecac042fc7e4e0d1261ee2f7c291dc23bc18a672dcc418006d4/68747470733a2f2f646f63732e676f6f676c652e636f6d2f75633f6578706f72743d646f776e6c6f61642669643d30425f4656754231306b506a56576c5a4d654446526144426f544530)

Screenshots
-----------

[](#screenshots)

[![](https://camo.githubusercontent.com/1d8079f58213734ab1b0ff08744ed6215739359cb53e2953dc6d651357acd61c/68747470733a2f2f646f63732e676f6f676c652e636f6d2f75633f6578706f72743d646f776e6c6f61642669643d30425f4656754231306b506a564f4331554d31687661564e5053324d)](https://camo.githubusercontent.com/1d8079f58213734ab1b0ff08744ed6215739359cb53e2953dc6d651357acd61c/68747470733a2f2f646f63732e676f6f676c652e636f6d2f75633f6578706f72743d646f776e6c6f61642669643d30425f4656754231306b506a564f4331554d31687661564e5053324d)

Requirements
------------

[](#requirements)

- PHP-5.5, PHP-5.6 or PHP-7.0+,
- [Pthreads](http://php.net/manual/en/book.pthreads.php) extension enabled (only if you want to use threading),
- UNIX or Windows OS.

Installation and Official Documentation
---------------------------------------

[](#installation-and-official-documentation)

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

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

```

Documentation for the framework can be found in the [official documentation](http://kraken-php.com/docs) page.

Starting Project
----------------

[](#starting-project)

### Basic Start

[](#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

[](#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
------------

[](#contributing)

This library is pre-configured project application for Kraken Framework. To make contributions, please go to [framework repository](http://kraken-php.com/getting_started).

License
-------

[](#license)

Kraken Framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT). The documentation is provided under [FDL-1.3 license](https://www.gnu.org/licenses/fdl-1.3.en.html).

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

2

Last Release

3546d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/edd40f7be77d3f9934f998dc0859d0562e42c715d61f5139feaf948a2fcb6050?d=identicon)[khelle](/maintainers/khelle)

---

Top Contributors

[![khelle](https://avatars.githubusercontent.com/u/5642657?v=4)](https://github.com/khelle "khelle (7 commits)")[![imbakar](https://avatars.githubusercontent.com/u/11833526?v=4)](https://github.com/imbakar "imbakar (1 commits)")[![napoleon101392](https://avatars.githubusercontent.com/u/8497373?v=4)](https://github.com/napoleon101392 "napoleon101392 (1 commits)")[![optiman](https://avatars.githubusercontent.com/u/2707476?v=4)](https://github.com/optiman "optiman (1 commits)")

---

Tags

frameworkchatkrakenkraken-php

### Embed Badge

![Health badge](/badges/kraken-php-demo-chat/health.svg)

```
[![Health](https://phpackages.com/badges/kraken-php-demo-chat/health.svg)](https://phpackages.com/packages/kraken-php-demo-chat)
```

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

42.9k337.6k1](/packages/ccxt-ccxt)[dazzle-php/socket

Dazzle Asynchronous Socket.

1912.9k5](/packages/dazzle-php-socket)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
