Hypervel 0.4 Components: A Laravel-Compatible Framework Built for Swoole Coroutines
The Hypervel Components.
At a glance
- What is it?
- Hypervel/components is the monorepo for the Hypervel 0.4 rewrite, a PHP framework that runs on Swoole's long-lived workers and coroutines. It targets Laravel developers who need higher concurrency without abandoning familiar APIs, but it is not ready for production use.
- Who is it for?
- Adopt Hypervel 0.4 only if you are a Laravel developer who needs coroutine-based concurrency for I/O-heavy workloads and you are willing to port your application rather than drop it in. Do not use it for production projects until a beta release is tagged, because APIs and behavior can change without notice.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly PHP, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on October 22, 2026, and from our analysis. They are not legal advice.
Star history
- hypervel/components32 ★ · -1
| Repository | 2026-08-22 | 2026-10-22 |
|---|---|---|
| hypervel/components | 33 | 32 |
-1 Stars in the last 61 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
What Hypervel 0.4 Solves and Who It Targets
Hypervel is a PHP framework designed for Swoole, the extension that lets PHP run in long-lived workers. The core problem it addresses is idle waiting. In a traditional PHP-FPM setup, a worker blocks while a database query or HTTP request is in flight. Hypervel uses coroutines so that when one coroutine waits on a query, cache lookup, queue operation, file access, or HTTP request, the same worker can serve other requests and jobs. You write ordinary sequential code, and the runtime yields to other work during waits. This makes Hypervel suitable for web applications, APIs, microservices, real-time services, background workers, and anything that spends meaningful time waiting on external systems. The target user is a Laravel developer who wants higher concurrency without rewriting business logic, because Hypervel aims for Laravel API compatibility wherever it fits. But the README is explicit: it is not a drop-in replacement, and moving an existing Laravel app is a deliberate port, not a namespace swap.
The 0.4 Rewrite and Its Warning
The default branch of this repository is 0.4, which contains ongoing, unreleased work for a rewrite. The README carries a warning in blockquote: this branch is not ready for use, and APIs, behavior, configuration, and package internals may change unexpectedly. The published documentation at hypervel.org covers version 0.3, not 0.4. For this branch, the in-progress docs live in src/docs, and there is a dedicated porting guide for Laravel users. The warning also says not to use this branch for projects until a beta release is tagged. This is a rare and honest admission from a framework project. Most projects overstate readiness. Here, the maintainers put the warning front and center. If you are evaluating Hypervel for production, the answer is clear: wait. If you are experimenting or testing the rewrite, bug reports are welcome.
How the Runtime Works: Coroutines and Connection Pools
The mechanism is coroutine-based concurrency on Swoole workers. When a coroutine waits on a database query, cache lookup, queue operation, file access, or HTTP request, the worker continues serving other requests. The framework includes first-class coroutine support and concurrent HTTP requests. To handle shared resources safely, Hypervel provides persistent database and Redis connection pools. This is a critical difference from Laravel, where each request typically opens a new connection. In a coroutine environment, a single connection cannot be shared across coroutines without pooling, otherwise you get race conditions. The README mentions a dedicated rate limiter, dual-mode Redis cache tags, layered cache stores, and a Redis session system with user-session management as examples of features built specifically for Hypervel's runtime. These are not Laravel ports; they are original designs that take advantage of coroutines.
Laravel Compatibility: A Port, Not a Clone
Hypervel ports many Laravel components, including Eloquent ORM, schema building, migrations, Blade templates, Vite integration, authentication, authorization, validation, notifications, mail, filesystem storage, queues, task scheduling, event broadcasting, and WebSockets. The README says it aims for Laravel API compatibility wherever it fits. But it also states that Hypervel is not a Laravel clone or drop-in replacement. The porting guide explains what needs to change and why. The implication is that some Laravel packages will not work as-is, because the runtime is different and coroutine safety matters. For example, a package that uses static state or global singletons may break under coroutines. If you are considering Hypervel, you must budget time for porting, not just for changing the namespace. The README does not list specific incompatibilities, so you need to read the porting guide before committing.
Getting It Running: Requirements and Installation
Hypervel 0.4 requires PHP 8.4 or later and Swoole 6.2.2 or later. Redis integrations use the PhpRedis extension 6.1 or later; Predis is not supported. The installation documentation lists the complete set of required PHP extensions. Since this is a monorepo, components are developed and tested together, then published as separate Composer packages. To create an application, you do not use this repository directly; you visit the Hypervel application repository. The README points to the installation docs for setup. There is no quick start command in the README, so you must follow the in-progress 0.4 documentation. The requirement of PHP 8.4 is notable because many production servers still run PHP 8.1 or 8.2. If your infrastructure is not on 8.4, you cannot even test this branch. Also, Swoole 6.2.2 is a specific version, and you need the matching PhpRedis extension. This is a stack for users who control their runtime environment, not for shared hosting.
Limitations and Failure Modes
The most obvious limitation is that 0.4 is unreleased and unstable. The README warns that APIs may change unexpectedly. That alone makes it the wrong tool for any production project. Another limitation is that it is not a drop-in Laravel replacement, so existing Laravel packages may not work without modification. The README does not specify which packages are incompatible, but the porting guide exists for a reason. A third limitation is the narrow environment: PHP 8.4, Swoole 6.2.2, PhpRedis 6.1, and no Predis. If your team uses Predis or an older PHP version, Hypervel is not an option. Coroutine safety is another potential failure mode. The README says the framework is built for coroutine safety, but that only applies to the framework's own components. Third-party code that is not coroutine-aware can cause issues, and you need to test carefully. Finally, the project direction mentions first-party ClickHouse support and SonicStack integration as planned, not available. So do not expect those features yet.
Alternatives: Laravel and Hyperf
The most direct alternative is Laravel itself. Laravel runs on PHP-FPM or Octane, but it does not use coroutines. If your application is not I/O-bound or you do not need massive concurrency, Laravel is stable, well-documented, and has a huge ecosystem. Hypervel's advantage is coroutine-based concurrency, but that comes with the cost of porting and instability. Another alternative is Hyperf, a mature Swoole-based PHP framework that also uses coroutines and has a Laravel-like structure. Hyperf has been around longer and has a stable release. The difference in approach is that Hyperf is not trying to be Laravel-compatible; it has its own components and conventions. Hypervel is explicitly porting Laravel APIs, which may reduce the learning curve for Laravel developers, but it is still a rewrite. If you want coroutines and Laravel familiarity, Hypervel may eventually be the right choice, but Hyperf is a safer bet today. There is also Laravel Octane, which runs Laravel on Swoole or RoadRunner, but Octane does not provide coroutines in the same way; it uses a worker model with request/response cycles, not cooperative multitasking within a worker.
Maintenance and License Implications
The repository is licensed under MIT, which means you can use, modify, and distribute the code freely, including in commercial projects, as long as you include the copyright notice. There is no copyleft obligation. The last push was on 2026-08-14, with releases v0.3.26, v0.3.25, and v0.3.24 in the months prior. That suggests active development, but the 0.4 branch is explicitly unstable. The monorepo structure means components are versioned together, which can simplify dependency management but also means a change in one component can affect others. The README mentions that SonicStack is the planned deployment platform and how the project plans to fund development. That is a business model consideration, not a technical one, but it implies that some future features may be tied to that platform. For maintenance cost, you need to track the 0.4 branch closely if you experiment, because API changes will break your code. There is no stable release to rely on. The porting guide is the key document to read before you start, and you should check the in-progress docs for any updated requirements.
Editorial conclusion
Adopt Hypervel 0.4 only if you are a Laravel developer who needs coroutine-based concurrency for I/O-heavy workloads and you are willing to port your application rather than drop it in. Do not use it for production projects until a beta release is tagged, because APIs and behavior can change without notice. Before experimenting, verify that your PHP 8.4 and Swoole 6.2.2 environments are set up, and read the porting guide to understand which Laravel features are not compatible. If you need a stable framework today, stick with Laravel or a mature Swoole-based alternative like Hyperf, and revisit Hypervel once 0.4 is released.
Frequently asked questions
What is the meaning of a component?
In this repository a component is one part of the Hypervel framework: the core framework components and first-party packages are developed and tested together in this monorepo and then published as separate Composer packages. Creating an application is a different repository entirely.
What are components also called?
The README offers no synonym. It refers to them as the core components of the Hypervel framework and as first-party packages, and describes this repository as holding those core framework components and first-party packages rather than an application.
What does Hypervel 0.4 need installed?
PHP 8.4 or later and Swoole 6.2.2 or later. Redis integrations require the PhpRedis extension at 6.1 or later, and Predis is explicitly not supported. The complete list of required PHP extensions is in the installation documentation rather than in the README.
Can I build a production app on the hypervel/components 0.4 branch?
Not yet by the project's own instruction. The branch carries a warning that 0.4 is not ready for use, that APIs, behaviour, configuration and package internals may change unexpectedly, and that the branch should not be used for projects until a beta release is tagged. hypervel.org still documents 0.3.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/hypervel-components)Star history chart for your README
[](https://hysenlabs.com/projects/hypervel-components)