PHPackages                             icekson/ws-app-server - 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. icekson/ws-app-server

ActiveLibrary

icekson/ws-app-server
=====================

Scalable websocket server

v0.9.1.0(9y ago)11992MITPHPCI failing

Since Jun 1Pushed 6y ago2 watchersCompare

[ Source](https://github.com/icekson/websockets-application-server)[ Packagist](https://packagist.org/packages/icekson/ws-app-server)[ RSS](/packages/icekson-ws-app-server/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (13)Versions (8)Used By (0)

### Usage of Websockets server

[](#usage-of-websockets-server)

---

### Configuration and description of services

[](#configuration-and-description-of-services)

config/autoload/server.json contains all information about services. There are few types of services suported:

- **Connector service**: main purpose is to serve all the client's requests via websockets (RPC, subscribe/unsubscribe, receive events);
- **Gate service**: WS service that is used for initialize process of WS clients and used as a gate. It aim to serve clients and give them appropriate Connector service address and port during init process;
- **Backend service**: particular type of services intended to serve all RPC requests. All business logic will be executed inside this kind of services;
- **Job service**: such services are used as workers for instant jobs, which are working using RabbitMQ queues;

Example of configuration file for server:
=========================================

[](#example-of-configuration-file-for-server)

```
{
  "ws-server": {
	"services": {
	  "gate-server-1": {
		"php_path": "php",
		"name": "gate-server-1",
		"class": "Icekson\\WsAppServer\\Service\\GateService",
		"host": "vps.cricket.program-ace.net/ws-gate/",
		"port": 80,
		"bind_port": 5000
	  },
	  "connector-server-1": {
		"php_path": "php",
		"name": "connector-server-1",
		"class": "Icekson\\WsAppServer\\Service\\ConnectorService",
		"host": "vps.cricket.program-ace.net/ws1/",
		"identity_finder_class" : "Application\\Utils\\UserIdentityFinder",
		"port": 80,
		"bind_port": 5001
	  },
	  "connector-server-2": {
		"php_path": "php",
		"name": "connector-server-2",
		"class": "Icekson\\WsAppServer\\Service\\ConnectorService",
		"host": "vps.cricket.program-ace.net/ws2/",
		"identity_finder_class" : "Application\\Utils\\UserIdentityFinder",
		"port": 80,
		"bind_port": 5002
	  },
	  "backend-server": {
		"php_path": "php",
		"name": "backend-server-1",
		"class": "Application\\Service\\BackendService",
		"processes_limit": 20,
		"count": 1,
		"debug": true
	  },
	  "jobs-server-1": {
		"php_path": "php",
		"name": "jobs-server-1",
		"class": "Icekson\\WsAppServer\\Service\\JobsService",
		"routing_key": "match"
	  },
	}
  }
}

```

Script commands
---------------

[](#script-commands)

run server
==========

[](#run-server)

path to config directory or file, not required field

```
php scripts/runner.php app-server:start --config-path="./config/autoload/"

```

check server state
==================

[](#check-server-state)

check server and if not started start it

```
php scripts/runner.php app-server:check

```

stop server
===========

[](#stop-server)

```
php scripts/runner.php app-server:stop

```

Test Tools
----------

[](#test-tools)

\#Run monitor for application logs It works via RabbitMQ, it shows all the logs for scripts in system which uses Icekson\\Utils\\Logger

```
 php scripts/runner.php tool:logs-monitor

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~30 days

Total

5

Last Release

3492d ago

### Community

Maintainers

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

---

Top Contributors

[![icekson](https://avatars.githubusercontent.com/u/7327996?v=4)](https://github.com/icekson "icekson (65 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/icekson-ws-app-server/health.svg)

```
[![Health](https://phpackages.com/badges/icekson-ws-app-server/health.svg)](https://phpackages.com/packages/icekson-ws-app-server)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.4k37.3k](/packages/matomo-matomo)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)

PHPackages © 2026

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