comphp / web
Web application integration layer combining HTTP, routing, actions, views, assets, and runtime support.
Requires
- php: ^8.5
- comphp/http: ^0.3
- comphp/router: ^0.3
- comphp/runtime: ^0.3.1
- comphp/ui: ^0.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.95
- phpunit/phpunit: ^13.1
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.3comphp/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.