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. [HTTP &amp; Networking](/categories/http)
4. /
5. icekson/ws-app-server

ActiveLibrary[HTTP &amp; Networking](/categories/http)

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 3w 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 52% 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

3541d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7327996?v=4)[Alexey Itsekson](/maintainers/icekson)[@icekson](https://github.com/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

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[lion/bundle

Lion-framework configuration and initialization package

122.3k3](/packages/lion-bundle)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[oro/platform

Business Application Platform (BAP)

642140.7k104](/packages/oro-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)

PHPackages © 2026

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