codedungeon/php-messenger
A lightweight PHP messenger for dispatching messages to handlers through a configurable bus, with middleware pipelines, typed message handling, and optional Laravel integration—a simple, framework-agnostic foundation for commands, queries, and events.
composer.json. For a throwaway prototype or an internal script, acceptable. For anything with an upgrade SLA, it's a liability that will likely need replacing within a year.Consider it only if all of the following hold:
Look elsewhere if any of the following is true:
To executives: This is a small, MIT-licensed PHP terminal-output utility. It is inexpensive but low-signal — 2 GitHub stars, no downstream dependents, and a weak opportunity score against an already-crowded category. It does not unlock a new capability; it merely formats text in a console. Recommendation: do not adopt it as a dependency. Use it as a design reference and replicate the ~1 day of functionality internally on top of tooling we already maintain. That removes single-maintainer abandonment risk at effectively zero incremental cost.
To engineering: Treat this as a pattern, not a package. Our console output needs — styled success/warn/error blocks, status lines, consistent spacing — are covered by Symfony Console styling, Termwind, and Laravel Prompts. If we need a thin internal abstraction, we can build it in a day, own it, and keep it aligned with our PHP version and test standards. If a team still wants to evaluate it, scope the spike to one non-critical internal command and require a fork-and-own plan before it touches production.
How can I help you explore Laravel packages today?