Gene
latest version: V6.0.0 (Apr 05, 2026 update)
Hyperf delivers a mature pure-PHP coroutine ecosystem. Gene moves the most expensive userland PHP overhead into a C extension — built for server workloads where latency and throughput must be pushed to the limit.
Results vary with CPU, kernel, PHP/Swoole version, and app code. See our benchmarks and run side-by-side tests locally.
* Elegant: lightweight SOA with bounded context, composable modules, DDD-friendly; * Fast: C extension on hot paths; on equal configs, often higher QPS than Laravel, Yii, Hyperf; * Flexible: classic MVC plus MVCS with a dedicated service layer; * Simple: one-minute demo to get started; * Scenarios: web apps, microservices, long-running workers; * Routing: full HTTP REST support with binary-tree lookup; * Hooks: global and per-route before/after hooks; * DI: Spring-inspired IoC with global and local inversion of control; * Middleware: AOP-style registration via config; * Factory: powerful singleton factory; * Database: high-performance PDO ORM for MySQL, MariaDB, PostgreSQL, SQLite; * Config: process-cached config with auto refresh; * Validation: built-in and custom validation rules; * Views: compiled template engine or native PHP templates; * Long connections: per-process MySQL/Redis/Memcached with reconnect detection; * CLI: infrastructure for console apps and daemons; * Cache: timed method cache plus real-time version cache; * Autoload: PSR-4 with custom library paths; * Swoole: low memory usage, no leaks in long-running mode; * Other: Composer support;
While the framework ecosystem races forward, Gene looks back to fundamentals — pursuing native instructions at the lowest level. C extension hot paths plus long-running memory help Gene reach hardware limits in throughput and latency versus Laravel, Yii, CodeIgniter, and Hyperf.
A minimal, extensible architecture without heavy wrappers executes efficiently. Simplicity on the surface, depth underneath — low learning cost with Gene's performance and developer experience.
Designed around long-running memory: CLI, DI, hooks, routing, caching, and more out of the box. Ideal for high-performance web APIs, mobile backends, and data processing jobs.