comphp/web

Web application integration layer combining HTTP, routing, actions, views, assets, and runtime support.

Maintainers

Package info

github.com/commonphp/web

pkg:composer/comphp/web

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

0.3 2026-05-20 17:27 UTC

This package is auto-updated.

Last update: 2026-05-20 17:28:05 UTC


README

CommonPHP Web provides the traditional web application integration layer for CommonPHP applications. It brings together runtime, HTTP, routing, actions, views, assets, and related packages into a cohesive structure for serving web pages.

The package is intended for page-oriented applications that need the common web stack wired together without forcing lower-level packages to lose their independence.

Requirements

  • PHP ^8.5
  • comphp/runtime:^0.3
  • comphp/http:^0.3

Installation

Once this package is available through your Composer repositories, install it with:

composer require comphp/web

Usage

<?php

// TODO: Write usage

Package Notes

This package should combine the pieces needed for traditional web application pages while keeping lower-level concerns in their own packages. HTTP, routing, assets, UI, and actions should remain independently usable.

Error Handling

Web dispatch, rendering, route, and response failures should throw package-specific exceptions or produce appropriate HTTP responses through the web surface.

Documentation

License

MIT. See LICENSE.md.