schranz-templating/symfony-twig-integration

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

0.1.0 2022-09-17 15:53 UTC

This package is auto-updated.

Last update: 2024-10-29 06:19:22 UTC


README

Integrate the templating Twig Adapter into the Symfony Framework.

Part of the Schranz Templating Project.

Installation

Install this package via Composer:

composer require schranz-templating/symfony-twig-integration

Register the Bundle class in your config/bundles.php or Kernel file:

return [
    // ...
    Schranz\Templating\Integration\Symfony\Twig\SchranzTemplatingTwigBundle::class => ['all' => true],
];

Configuration

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