Skip to content

VeloxRouter DocsHigh-performance PHP ecosystem

Zero-bloat routing, SSE, validation, and enterprise middlewares inspired by Go Fiber and Python FastAPI.

🚀 The Philosophy ​

Traditional frameworks often introduce heavy abstractions, bloated dependency trees, and hidden performance penalties. VeloxRouter strips away the complexity while keeping safety, speed, and developer experience (DX) intact for modern PHP 8.2+.

  • Zero-Dependency Core: Lightweight, fast, and independent codebases.
  • Framework Agnostic: Easily integrate individual components into existing applications or microservices.
  • Predictable & Fast: Optimized memory allocation and lightning-fast execution times.

📦 Ecosystem Packages ​

VeloxRouter is a modular ecosystem built for developers who demand speed and clean architecture:

PackageStatusDescriptionInstallation
Router Core🟢 ActiveHigh-performance HTTP routing engine with static $O(1)$ matching.composer require veloxrouter/router
Middlewares🟢 ActiveEnterprise-grade security, rate limiting, and request logging.composer require veloxrouter/middlewares
SSE Streaming🟢 ActiveZero-dependency Server-Sent Events for real-time data streams.composer require veloxrouter/sse
Validator🟢 ActiveLightweight validation engine with multi-language support.composer require veloxrouter/validator
RPC Microservices🟢 ActiveJSON-RPC 2.0 communication and dispatching clients.composer require veloxrouter/rpc

🛠️ Built for Modern PHP ​

Designed specifically for PHP 8.2+, taking full advantage of modern language features such as constructor property promotion, readonly properties, strict types, and native scalar type safety.