Integrate the templating Twig Adapter into the Symfony Framework.
Part of the Schranz Templating Project.
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],
];
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.