PHPackages                             novosga/websocket-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. novosga/websocket-server

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

novosga/websocket-server
========================

v2.0.1(7y ago)519.4k↓50%4[1 issues](https://github.com/novosga/websocket-server/issues)MITPHPPHP ^7.1.3

Since Dec 19Pushed 7y ago4 watchersCompare

[ Source](https://github.com/novosga/websocket-server)[ Packagist](https://packagist.org/packages/novosga/websocket-server)[ RSS](/packages/novosga-websocket-server/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (5)Used By (0)

Websocket server
================

[](#websocket-server)

[Novo SGA](http://novosga.org) websocket events server writted in PHP compatible since v2.0.

Events
------

[](#events)

### Client-to-server

[](#client-to-server)

**register client**

Panel Client register.

*(No event data)*

**register user** \[user-only\]

User Client register

Event data for `User`:

```
{
    "unity": integer,
    "secret": string
}
```

Event data for `Panel`:

```
{
    "unity": integer,
    "services": array
}
```

**new ticket**

User Client on triagem or redirecting on attendance

Event data:

```
{
    "unity": integer
}
```

**change ticket** \[user-only\]

User Client on monitor emitted when cancel or transfer ticket

Event data:

```
{
    "unity": integer
}
```

**call ticket** \[user-only\]

User Client on attendance

Event data:

```
{
    "unity": integer,
    "service": integer,
    "hash": string
}
```

**client update**

Client info update

Event data for `User`:

```
{
    "unity": int
}
```

Event data for `Panel`:

```
{
    "unity": integer,
    "services": array
}
```

### Server-to-client

[](#server-to-client)

**register ok**

*(No event data)*

**update queue** \[user-only\]

Emmited when: `new ticket`, `change ticket`, `call ticket`.

*(No event data)*

**call ticket** \[panel-only\]

Emmited when: `call ticket`.

Event data for Panel:

```
{
    "unity": integer,
    "service": integer,
    hash: string
}
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~157 days

Total

4

Last Release

2599d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1065082?v=4)[Rogério Lino](/maintainers/rogeriolino)[@rogeriolino](https://github.com/rogeriolino)

---

Top Contributors

[![rogeriolino](https://avatars.githubusercontent.com/u/1065082?v=4)](https://github.com/rogeriolino "rogeriolino (19 commits)")

---

Tags

novosgawebsocketwebsocket-server

### Embed Badge

![Health badge](/badges/novosga-websocket-server/health.svg)

```
[![Health](https://phpackages.com/badges/novosga-websocket-server/health.svg)](https://phpackages.com/packages/novosga-websocket-server)
```

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[api-platform/openapi

Models to build and serialize an OpenAPI specification.

353.3M48](/packages/api-platform-openapi)[api-platform/json-schema

Generate a JSON Schema from a PHP class

273.4M26](/packages/api-platform-json-schema)[handcraftedinthealps/rest-routing-bundle

This bundle provides automatic route registration for the Controllers

582.0M2](/packages/handcraftedinthealps-rest-routing-bundle)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

9230.2k4](/packages/bitrix24-b24phpsdk)[swoole-bundle/swoole-bundle

Open/Swoole Symfony Bundle

6650.4k](/packages/swoole-bundle-swoole-bundle)

PHPackages © 2026

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