Localzet Server and related projects documentation

Triangle View

Triangle View connects PHP templates and optional Blade, Twig, or ThinkPHP engines to responses in a Triangle Engine application.

Version: 2.1.0 · PHP: 8.1+ · Engine: ^8.1 || ^9.0 · Package: triangle/view.

The default raw handler includes .phtml files as PHP and does not escape HTML automatically. Escape values from users or external sources in the template. Variables passed directly to view() take precedence over values previously assigned to the current request.