hypervel/components

The components for Hypervel framework.

Fund package maintenance!
Ko Fi

v0.1.2 2025-03-25 13:56 UTC

This package is auto-updated.

Last update: 2025-03-26 04:05:42 UTC


README

Build Status Total Downloads Latest Stable Version License

Introduction

Note: This repository contains the core code of the Hypervel framework. If you want to build an application using Hypervel, visit the Hypervel repository.

Hypervel is a Laravel-style PHP framework with native coroutine support for ultra-high performance.

Hypervel ports many core components from Laravel while maintaining familiar usage patterns, making it instantly accessible to Laravel developers. The framework combines the elegant and expressive development experience of Laravel with the powerful performance benefits of coroutine-based programming. If you're a Laravel developer, you'll feel right at home with this framework, requiring minimal learning curve.

This is an ideal choice for building microservices, API gateways, and high-concurrency applications where traditional PHP frameworks often encounter performance constraints.

Why Hypervel?

While Laravel Octane impressively enhances your Laravel application's performance, it's crucial to understand the nature of modern web applications. In most cases, the majority of latency stems from I/O operations, such as file operations, database queries, and API requests.

However, Laravel doesn't support coroutines - the entire framework is designed for a blocking I/O environment. Applications heavily dependent on I/O operations will still face performance bottlenecks. Consider this scenario:

Imagine building an AI-powered chatbot where each conversation API takes 3-5 seconds to respond. With 10 workers in Laravel Octane receiving 10 concurrent requests, all workers would be blocked until these requests complete.

You can see benchmark comparison between Laravel Octane and Hypervel

Even with Laravel Octane's improvements, your application's concurrent request handling capacity remains constrained by I/O operation duration. Hypervel addresses this limitation through coroutines, enabling efficient handling of concurrent I/O operations without blocking workers. This approach significantly enhances performance and concurrency for I/O-intensive applications.

See this issue for more discussions.

Documentation

https://hypervel.org/docs

Hypervel provides comprehensive and user-friendly documentation that allows you to quickly get started. From this documentation, you can learn how to use various components in Hypervel and understand the differences between this framework and Laravel.

Most of the content in this documentation is referenced from the official Laravel documentation. We appreciate the Laravel community's contributions.

License

The Hypervel framework is open-sourced software licensed under the MIT license.