genai / web
Web/MVC layer over genai/http: #[Controller]/#[RestController] (with a base path) and #[Route] attributes, a View value object, a default genai/view engine (override with #[ViewRegister]), and a dispatcher. Routes compile to genai/routing's standalone matcher. Runtime is PHP 5.3-safe; the attributes
v1.0.1
2026-07-10 02:10 UTC
Requires
- php: >=5.3.0
- genai/boot: *
- genai/container: *
- genai/http: *
- genai/routing: *
- genai/view: *
Suggests
- genai/attribute: PHP 8 build-time scanning of #[Controller]/#[RestController]/#[Route]/#[ViewRegister].
- genai/di: The attributes extend GenAI\Di\Component so the di processor registers controllers as beans.
- genai/dto: Provides the Serializer for Dispatcher::setSerializer() — JSON-serialize #[Dto] results.
- genai/session: Backs Csrf / CsrfInterceptor (the token store); only loaded if you use CSRF.