PHPackages                             ustal/stream-hub-plugins - 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. ustal/stream-hub-plugins

ActiveLibrary

ustal/stream-hub-plugins
========================

Framework-agnostic feature modules for Stream Hub

v1.0.0(1mo ago)023↓100%1MITPHPPHP ^8.2CI passing

Since Apr 8Pushed 4w agoCompare

[ Source](https://github.com/ustal/stream-hub-plugins)[ Packagist](https://packagist.org/packages/ustal/stream-hub-plugins)[ RSS](/packages/ustal-stream-hub-plugins/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (1)

stream-hub-plugins
==================

[](#stream-hub-plugins)

[![CI](https://github.com/ustal/stream-hub-plugins/actions/workflows/ci.yml/badge.svg)](https://github.com/ustal/stream-hub-plugins/actions/workflows/ci.yml)

Framework-agnostic feature modules for Stream Hub.

In the `v1` direction this repository is no longer a UI plugin pack. It now holds headless modules made of commands, handlers, and small workflow services.

This package targets `stream-hub-core ^1.0`.

Included Modules
----------------

[](#included-modules)

### `MessageComposer`

[](#messagecomposer)

Current contents:

- `SendMessageCommand`
- `SendMessageCommandHandler`
- `MessageEventFactory`

The handler:

- builds a `StreamEvent` for a user message;
- dispatches low-level `AppendStreamEventCommand` through `ModelCommandBusInterface`;
- does not talk to the backend directly.

The module expects an event identifier generator to be injected by the consuming integration.

### `StreamLifecycle`

[](#streamlifecycle)

Current contents:

- `StartStreamCommand`
- `StartStreamCommandHandler`
- `JoinStreamCommand`
- `JoinStreamCommandHandler`
- `LeaveStreamCommand`
- `LeaveStreamCommandHandler`
- `LifecycleSystemEventFactory`

The handler:

- orchestrates low-level `CreateStreamCommand`;
- appends an initial system event through low-level `AppendStreamEventCommand`;
- dispatches low-level `JoinStreamCommand` for join scenarios;
- appends a system event when a participant leaves;
- dispatches low-level `LeaveStreamCommand` to update the participant model;
- stays storage-agnostic and does not talk to the backend directly.

The module expects a system event identifier generator to be injected by the consuming integration.

Development
-----------

[](#development)

Install dependencies:

```
make install
```

Run tests:

```
make test
```

Run deptrac:

```
make deptrac
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance94

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

31d ago

Major Versions

v0.1.0 → v1.x-dev2026-04-08

### Community

Maintainers

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

---

Top Contributors

[![ustal](https://avatars.githubusercontent.com/u/11928397?v=4)](https://github.com/ustal "ustal (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ustal-stream-hub-plugins/health.svg)

```
[![Health](https://phpackages.com/badges/ustal-stream-hub-plugins/health.svg)](https://phpackages.com/packages/ustal-stream-hub-plugins)
```

PHPackages © 2026

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