Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Thruway Common Laravel Package

voryx/thruway-common

Shared common components for Thruway, the PHP WAMP (Web Application Messaging Protocol) client and router built on ReactPHP. Provides core protocol utilities and message handling used across Thruway packages for real-time pub/sub and RPC over WebSockets.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Real-time feature feasibility: Evaluates whether Laravel/PHP can support WAMP2-based pub/sub and RPC over WebSocket for notifications, live dashboards, presence, collaborative workflows, or internal service messaging.
  • Build vs. buy: Helps decide between implementing WAMP message handling internally, adopting the Thruway ecosystem, or buying managed real-time infrastructure such as Pusher, Ably, or Soketi/Redis-backed Laravel broadcasting.
  • Roadmap sequencing: Supports a spike/POC decision rather than a committed roadmap dependency. This package is a low-level protocol common library, not a turnkey Laravel feature.
  • Architecture standardization: Relevant if the product needs cross-language messaging where PHP services interoperate with browser, Python, or other WAMP2 clients.
  • Platform compatibility: The 1.0.6 patch declares an explicit PHP version requirement and adds a return type to jsonSerialize for PHP 8.1. This removes a known CI/deprecation-warning friction point on modern PHP runtimes — but it is a maintenance patch, not a capability change, and does not alter the maturity verdict.
  • Risk management: Informs whether to vendor, pin, wrap, or fork a low-activity dependency. Reported signals — 8 stars, 0 dependents, maintenance-only release cadence (latest: 1.0.6, a compatibility patch) — still argue against making it a strategic platform dependency without ownership. The PHP 8.1 fix is a positive hygiene signal; it is not evidence of active roadmap investment.
  • Use cases: Internal event buses, WebSocket RPC to PHP workers, live operational dashboards, multi-tenant notifications, telemetry/IoT-style messaging, and prototypes that require WAMP2 compatibility.

When to Consider This Package

  • Consider it only when the team is already using Thruway or explicitly needs WAMP2 protocol primitives in PHP and wants shared message/type utilities rather than reimplementing them.
  • It fits a technical spike or internal service integration where the team can isolate the dependency behind an adapter and accept maintenance ownership.
  • It may be reasonable if the product needs pub/sub and RPC over WebSocket with cross-language clients and WAMP2 interoperability is a real requirement.
  • Verify the newly declared PHP version constraint against your target runtime (Laravel 10/11 on PHP 8.2/8.3). The 1.0.6 patch improves PHP 8.1 compatibility, but a pinned upper bound or narrow constraint could still block adoption on newer stacks — confirm before committing to a spike.
  • It is also relevant if engineering is prepared to pin the version, monitor CVEs, and potentially fork because the ecosystem is small and the release cadence is maintenance-only.
  • Look elsewhere if the need is Laravel-native broadcasting, chat/presence at scale, managed real-time delivery, or simple queue/SSE notifications. In those cases, Laravel Echo with Pusher/Ably, Soketi, Redis, or a managed pub/sub service is likely a better product bet.
  • Avoid it as a customer-facing differentiator or core platform dependency unless a WAMP2 requirement is proven and the team accepts the operational risk.

How to Pitch It (Stakeholders)

  • Executive summary: This is not a strategic platform or a complete Laravel feature package. It is a narrow WAMP2 common library for the Thruway ecosystem. The 1.0.6 release is a small compatibility patch (declared PHP requirement, PHP 8.1 jsonSerialize return type) — useful housekeeping, not a signal of renewed investment. It can accelerate a real-time messaging proof of concept, but remains a tactical dependency at best.
  • Product framing: Use it to test whether WAMP2-based real-time messaging unlocks a valuable use case. Do not put it on the critical path until the POC proves customer value and engineering confirms maintenance ownership.
  • Engineering summary: It can reduce protocol boilerplate for WAMP2 message handling and now installs cleanly against PHP 8.1+ expectations, but it still requires custom Laravel integration, version pinning, and an abstraction layer. Confirm the declared PHP constraint covers your target runtime. Expect to own upgrades or forks; do not assume an active community.
  • Investment recommendation: Fund a short spike behind an internal interface. Compare total cost against managed real-time services. Adopt only if WAMP2 interoperability is a hard requirement and the team is willing to maintain the dependency.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings