https://github.com/php-testo/messenger
Output capturing & channel messaging plugin (split-published from php-testo/testo)
https://github.com/php-testo/messenger
Last synced: 15 days ago
JSON representation
Output capturing & channel messaging plugin (split-published from php-testo/testo)
- Host: GitHub
- URL: https://github.com/php-testo/messenger
- Owner: php-testo
- Created: 2026-06-01T14:56:39.000Z (about 1 month ago)
- Default Branch: 1.x
- Last Pushed: 2026-06-02T08:49:49.000Z (about 1 month ago)
- Last Synced: 2026-06-02T10:26:51.833Z (about 1 month ago)
- Language: PHP
- Homepage: https://github.com/php-testo/testo
- Size: 18.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
Output capturing & channel messaging plugin
[](https://php-testo.github.io)
[](https://boosty.to/roxblnfk)
> [!IMPORTANT]
> ## 🪞 This is a read-only mirror.
>
> Active development of the Testo project lives in [**php-testo/testo**](https://github.com/php-testo/testo) under `plugin/messenger/`. This repository is **automatically synchronized** from there on every release.
>
> File issues and pull requests in the [main monorepo](https://github.com/php-testo/testo/issues), not here.
## About
Captures everything a test writes to the output buffer and routes it — together with anything other producers emit — through a channel-based messaging hub.
Each message carries a channel (e.g. `stdout`, `sql-log`), a severity level and its content. Messages are recorded per test (attached to the test's result), announced as events in real time, and can be produced from test code, middleware, or other plugins. The hub also exposes a PSR-3 logger per channel, so existing logging code feeds the same stream.
Output renderers (terminal, TeamCity) consume these messages to display per-test output, grouped and highlighted by channel.
## Install
```bash
composer require --dev testo/messenger
```
[](https://packagist.org/packages/testo/messenger)
[](https://packagist.org/packages/testo/messenger)
[](https://github.com/php-testo/testo/blob/1.x/LICENSE.md)
[](https://packagist.org/packages/testo/messenger/stats)