CommonPHP Web is the page-oriented HTTP surface for CommonPHP applications. It combines comphp/http, comphp/router, and comphp/ui into a small layer for serving traditional HTML pages.
The package owns web pages, page routing, page rendering, redirects, and web-facing response normalization. Lower-level HTTP, routing, and UI packages remain independently usable.
Entry points:
CommonPHP\Web\WebSurfaceCommonPHP\Web\PageRegistryCommonPHP\Web\PageResolverCommonPHP\Web\PageResponseFactory
Page rendering:
CommonPHP\Web\PageRenderContextCommonPHP\Web\PageResponseCommonPHP\Web\ViewPageRendererCommonPHP\Web\RedirectResponse
Contracts:
CommonPHP\Web\Contracts\PageInterfaceCommonPHP\Web\Contracts\AbstractPageCommonPHP\Web\Contracts\PageResolverInterfaceCommonPHP\Web\Contracts\PageRendererInterface
Exceptions:
CommonPHP\Web\Exceptions\WebExceptionCommonPHP\Web\Exceptions\WebDispatchExceptionCommonPHP\Web\Exceptions\WebRouteExceptionCommonPHP\Web\Exceptions\WebResponseExceptionCommonPHP\Web\Exceptions\PageRenderExceptionCommonPHP\Web\Exceptions\PageNotFoundException