PHPackages                             transitive/web - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. transitive/web

ActiveLibrary[Framework](/categories/framework)

transitive/web
==============

Web Front controller and view for transitive.

2.5.4(2mo ago)01.2k—0%1MITPHPPHP &gt;8.1

Since Jul 31Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/RobinDumontChaponet/TransitiveWeb)[ Packagist](https://packagist.org/packages/transitive/web)[ RSS](/packages/transitive-web/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (13)Used By (1)

Transitive\\Web
===============

[](#transitiveweb)

HTTP front controller and HTML-oriented view layer for Transitive.

This package builds on `transitive/core` and `transitive/routing` to provide browser-facing rendering, content negotiation, default HTML layout handling, and helpers for scripts, styles, and metadata.

[![Latest Stable Version](https://camo.githubusercontent.com/bb48ce02d621fd2bfc000e602f370a368991654a4ae81586ff63c8e37cfd1455/68747470733a2f2f706f7365722e707567782e6f72672f7472616e7369746976652f7765622f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/transitive/web)[![License](https://camo.githubusercontent.com/5d663594e4b3063c750150de48b66f5a4cfc9cf08965897ea4bbc6af4abcf87c/68747470733a2f2f706f7365722e707567782e6f72672f7472616e7369746976652f7765622f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/transitive/web)

Installation
------------

[](#installation)

```
composer require transitive/web
```

PHP `8.1+` is required.

What is included
----------------

[](#what-is-included)

- `Transitive\Web\Front`: an HTTP front controller with `Accept` header negotiation and response header management.
- `Transitive\Web\View`: a richer (than Transitive\\Simple) view implementation with title, meta tag, stylesheet, and script helpers.

Basic Usage
-----------

[](#basic-usage)

```
