silnex 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
..
app 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
bootstrap 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
config 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
database 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
lang 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
public 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
resources 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
routes 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
tests 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
.env 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
README.md 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
artisan 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
benchmark_config.json 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
composer.json 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
config.toml 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
hypervel.dockerfile 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前
phpunit.xml.dist 6b5a3025f5 Adds support for Hypervel (#10058) 4 ヶ月 前

README.md

Build Status Total Downloads Latest Stable Version License

Introduction

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.