Download the PHP package ustal/stream-hub-core without Composer
On this page you can find all versions of the php package ustal/stream-hub-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ustal/stream-hub-core
More information about ustal/stream-hub-core
Files in ustal/stream-hub-core
Download ustal/stream-hub-core
More information about ustal/stream-hub-core
Files in ustal/stream-hub-core
Vendor ustal
Package stream-hub-core
Short Description StreamHub core: event-driven interaction engine with plugin system
License MIT
Package stream-hub-core
Short Description StreamHub core: event-driven interaction engine with plugin system
License MIT
Please rate this library. Is it a good library?
Informations about the package stream-hub-core
stream-hub-core
Framework-agnostic headless core for Stream Hub.
stream-hub-core is no longer positioned as a pluggable UI engine. In the v1 direction it focuses on stream models, low-level write commands, command buses, backend contracts, and reusable framework-agnostic building blocks.
Current Scope
The package currently provides:
- core models:
StreamStreamEventStreamParticipant
- backend contract:
StreamBackendInterface
- application context contract:
StreamContextInterface
- command contracts:
StreamCommandInterfaceStreamCommandHandlerInterface
- buses:
CommandBusInterfaceModelCommandBusInterfaceCommandBusGuardedCommandBus
- thin application facade:
StreamHubInterfaceStreamHub
- guard contracts for high-level commands:
StreamCommandGuardInterfaceGuardDecision
- low-level core commands and handlers:
- create stream
- join stream
- append stream event
- mark stream read
- identifier generation:
IdentifierGeneratorInterfaceRandomHexIdentifierGeneratorUuidV4IdentifierGeneratorUuidV7IdentifierGenerator
Design Notes
- Core models are not persistence entities.
- Project-specific enrichment belongs in backend adapters and mappers.
- High-level feature commands may be guarded before handler execution.
- Low-level model commands should stay internal and should not be guarded.
- High-level feature workflows should orchestrate low-level core commands instead of writing directly to storage when a generic low-level command already exists.
- Business authorization rules should live in the application or policy layer, not in the backend contract.
Development
Run tests:
Run deptrac:
All versions of stream-hub-core with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
The package ustal/stream-hub-core contains the following files
Loading the files please wait ...