chani/safi-view-twig

Twig view engine adapter for the Safi Microframework.

Maintainers

Package info

github.com/chani/safi-view-twig

pkg:composer/chani/safi-view-twig

Transparency log

Statistics

Installs: 2

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.3 2026-07-25 15:42 UTC

This package is auto-updated.

Last update: 2026-07-25 16:08:06 UTC


README

Twig 3 view engine integration for the Safi Microframework. Implements Safi\Core\Contracts\ViewEngineInterface and provides deferred global variable evaluation (µADR-027).

Features

  • Deferred Globals (µADR-027): Global view context closures are resolved lazily on template render.
  • Namespace Registration: Support for isolated module template paths (@Module/template.twig).

License

Distributed under the MIT License. Author: Jean Bruenn