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

Ext Openswoole Laravel Package

upscale/ext-openswoole

Connects Laravel Upscale to the OpenSwoole PHP extension, enabling coroutine-based HTTP serving, task workers, and runtime hooks for high-concurrency Laravel applications. A focused adapter for teams running OpenSwoole-powered Laravel services and workers.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Runtime selection for high-throughput PHP. If your roadmap includes moving Laravel onto a persistent-worker runtime (Octane-style) or adding coroutine-based concurrency, WebSockets, or long-running queue workers, this package is a portability lever: it presents an OpenSwoole backend behind a Swoole-compatible API so the same application code runs on either extension.
  • Build vs. buy on abstraction. The "build" option here is your own thin compat layer; this package is a ~zero-cost buy that removes weeks of glue work. Because it is Apache-2.0 and small in surface area, it is also a viable vendor-and-fork candidate — treat it as internal utility code rather than a strategic dependency.
  • De-risking a vendor decision. Swoole and OpenSwoole have diverged in governance and release cadence. Keeping an interchangeable shim in the stack means the runtime choice becomes a configuration and benchmarking exercise, not a rewrite — a real option value when you are negotiating hosting, support, or licensing.
  • Scoped pilots. It enables a time-boxed A/B: run one non-critical service on Swoole, one on OpenSwoole, compare p50/p95 latency, memory per worker, restart behavior, and error rates before committing the fleet.
  • Library and platform teams. If you publish internal packages or a service template that third parties deploy, an interchangeable extension layer prevents downstream consumers from being pinned to one fork.
  • Not a feature decision. This does not unlock user-facing capability on its own; it is infrastructure optionality. Do not put it on a roadmap as a deliverable — put it in the architecture risk register.

When to Consider This Package

Adopt when:

  • You already have Swoole-targeted code (or a hard dependency on Swoole-only APIs) and want to evaluate OpenSwoole without forking your application.
  • You explicitly want runtime portability as a hedge, and you are willing to own the shim (pin the version, vendor it, review diffs on upgrade).
  • You need a vendor-neutral API surface in code you ship to others.
  • You can benchmark it yourself — there is no third-party validation to lean on.

Look elsewhere when:

  • Greenfield Laravel. Start with Laravel Octane plus a mainstream runtime (Swoole, FrankenPHP, or RoadRunner). Adding a compat layer before you have a compatibility problem is premature. Note that Octane's own OpenSwoole support has shifted across releases — verify version compatibility first, or the shim buys you nothing.
  • You need community proof. 2 stars and 0 dependents means no ecosystem validation and effectively a bus factor of one. Recent releases (2026-03-01) suggest active maintenance, but that is a single signal, not a guarantee.
  • You need vendor support or managed hosting. No commercial backing; managed platforms won't recognize this path. If your SLA depends on a supported runtime, stay on the vendor-blessed stack.
  • Your bottleneck isn't the runtime. If profiling shows database or I/O contention, a coroutine runtime is the wrong lever regardless of which fork you pick.

How to Pitch It (Stakeholders)

For executives (one paragraph): This is a small, permissively licensed compatibility layer that lets our PHP services run on either of the two competing high-performance runtimes without code changes. The business value is option value, not features: it keeps a future infrastructure decision reversible and cheap to test, and it costs us almost nothing to evaluate. The caveat is maturity — it has essentially no community adoption, so I recommend we treat it as internal utility code we own (pin, vendor, review), not as a dependency we rely on a third party to maintain. Decision requested: approve a two-week, single-service benchmark, not a platform migration.

For engineering (summary): Drop-in OpenSwoole wrapper exposing a Swoole-compatible API. Apache-2.0, small surface, easy to audit and fork. Requirements before adoption: pin the exact version, vendor it into our repo, confirm compatibility with our Octane version and PHP runtime, and produce benchmark data (latency, memory/worker, stability under restart) comparing both extensions on one non-critical service. If we adopt, the shim becomes ours to maintain — budget accordingly.

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.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle