schranz-templating / symfony-twig-integration
A integration of template renderer into symfony via twig template engine.
Package info
github.com/schranz-templating/symfony-twig-integration
pkg:composer/schranz-templating/symfony-twig-integration
0.1.0
2022-09-17 15:53 UTC
Requires
- php: ^7.0 || ^8.0
- schranz-templating/twig-adapter: ^0.1
- symfony/config: ^4.4 || ^5.4 || ^6.0
- symfony/dependency-injection: ^4.4 || ^5.4 || ^6.0
- symfony/http-kernel: ^4.4 || ^5.4 || ^6.0
- symfony/twig-bundle: ^4.4 || ^5.4 || ^6.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.