A integration of template renderer into spiral via twig template engine.

0.1.0 2022-11-14 21:24 UTC

This package is auto-updated.

Last update: 2023-03-01 00:53:27 UTC


Integrate the templating Twig Adapter into the Spiral Framework.

Part of the Schranz Templating Project.


Install this package via Composer:

composer require schranz-templating/spiral-twig-integration

Register the Bootloader class in your app/src/Application/Kernel.php if not already automatically added by the framework:

class Kernel extends \Spiral\Framework\Kernel
    protected const LOAD = [
        // ...


The Twig Integration has currently no configuration as Twig is supported out of the box by Spiral and can be configured via the Spiral Twig Views.