hypervel / components
The components for Hypervel framework.
Fund package maintenance!
Ko Fi
Requires
- php: >=8.2
- composer-runtime-api: ^2.2
- ext-hash: *
- ext-json: *
- ext-mbstring: *
- ext-openssl: *
- ext-pdo: *
- dragonmantank/cron-expression: ^3.3.2
- friendsofhyperf/command-signals: ~3.1.0
- friendsofhyperf/pretty-console: ~3.1.0
- guzzlehttp/guzzle: ^7.8.2
- guzzlehttp/uri-template: ^1.0
- hyperf/cache: ~3.1.0
- hyperf/command: ~3.1.0
- hyperf/config: ~3.1.0
- hyperf/database-sqlite: ~3.1.0
- hyperf/db-connection: ~3.1.0
- hyperf/dispatcher: ~3.1.0
- hyperf/engine: ^2.10
- hyperf/framework: ~3.1.0
- hyperf/http-server: ~3.1.0
- hyperf/memory: ~3.1.0
- hyperf/process: ~3.1.0
- hyperf/resource: ~3.1.0
- hyperf/signal: ~3.1.0
- hyperf/translation: ~3.1.0
- hyperf/validation: ~3.1.0
- laravel/serializable-closure: ^1.3
- lcobucci/jwt: ^5.0
- league/commonmark: ^2.2
- monolog/monolog: ^3.1
- nesbot/carbon: ^2.72.6
- nunomaduro/termwind: ^2.0
- psr/log: ^1.0|^2.0|^3.0
- ramsey/uuid: ^4.7
- symfony/error-handler: ^6.3
- symfony/mailer: ^6.2
- symfony/process: ^6.2
- tijsverkoyen/css-to-inline-styles: ^2.2.5
Requires (Dev)
- ably/ably-php: ^1.0
- fakerphp/faker: ^2.0
- filp/whoops: ^2.15
- friendsofphp/php-cs-fixer: ^3.57.2
- hyperf/devtool: ~3.1.0
- hyperf/redis: ~3.1.0
- hyperf/testing: ~3.1.0
- hyperf/view-engine: ~3.1.0
- league/flysystem: ^3.0
- league/flysystem-aws-s3-v3: ^3.0
- league/flysystem-google-cloud-storage: ^3.0
- league/flysystem-path-prefixing: ^3.3
- league/flysystem-read-only: ^3.3
- mockery/mockery: ^1.5.1
- nunomaduro/collision: ^8.5
- pda/pheanstalk: v5.0.9
- phpstan/phpstan: ^1.11.5
- phpunit/phpunit: ^10.0.7
- pusher/pusher-php-server: ^7.2
- swoole/ide-helper: ~5.1.0
Suggests
- ably/ably-php: Required to use the Ably broadcast driver (^1.0).
- aws/aws-sdk-php: Required to use the SES mail driver (^3.235.5).
- friendsofhyperf/tinker: Required to use the tinker console command (^3.1).
- hyperf/redis: Required to use redis driver. (^3.1).
- hypervel/session: Required to use session guard. (^3.1).
- league/flysystem-read-only: Required to use read-only disks (^3.3)
- pusher/pusher-php-server: Required to use the Pusher broadcast driver (^6.0|^7.0).
- symfony/http-client: Required to use the Symfony API mail transports (^6.2).
- symfony/mailgun-mailer: Required to enable support for the Mailgun mail transport (^6.2).
- symfony/postmark-mailer: Required to enable support for the Postmark mail transport (^6.2).
Replaces
- hypervel/auth: v0.1.2
- hypervel/broadcasting: v0.1.2
- hypervel/bus: v0.1.2
- hypervel/cache: v0.1.2
- hypervel/config: v0.1.2
- hypervel/console: v0.1.2
- hypervel/container: v0.1.2
- hypervel/cookie: v0.1.2
- hypervel/core: v0.1.2
- hypervel/coroutine: v0.1.2
- hypervel/devtool: v0.1.2
- hypervel/dispatcher: v0.1.2
- hypervel/encryption: v0.1.2
- hypervel/event: v0.1.2
- hypervel/filesystem: v0.1.2
- hypervel/foundation: v0.1.2
- hypervel/hashing: v0.1.2
- hypervel/http: v0.1.2
- hypervel/http-client: v0.1.2
- hypervel/jwt: v0.1.2
- hypervel/log: v0.1.2
- hypervel/mail: v0.1.2
- hypervel/notifications: v0.1.2
- hypervel/object-pool: v0.1.2
- hypervel/process: v0.1.2
- hypervel/prompts: v0.1.2
- hypervel/queue: v0.1.2
- hypervel/router: v0.1.2
- hypervel/session: v0.1.2
- hypervel/support: v0.1.2
- hypervel/telescope: v0.1.2
This package is auto-updated.
Last update: 2025-03-26 04:05:42 UTC
README
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
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.