Registry / web-framework / symfony-twig-bundle

symfony-twig-bundle

JSON →
library8.1.0phppackagistunverified

Provides a tight integration of Twig into the Symfony full-stack framework

composer require symfony/twig-bundle
INSTALL
IMPORT
SIG · SYMFONY-TWIG-BUNDL
S
symfony-twig-bundle
web-frameworkphpv8.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TwigBundle
use Symfony\Bundle\TwigBundle\TwigBundle;

Register the Twig bundle in a Symfony application

use Symfony\Bundle\TwigBundle\TwigBundle; // In Symfony config: // public function registerBundles(): array // { // return [new TwigBundle()]; // }
Debug
Known issues
gotchaRequires Symfony framework; not standalone
fix
Use symfony/twig-bridge for standalone Twig integration
affects: *
Upgrade
Version history
8.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
symfony-twig-bundle — pip install symfony-twig-bundle · libregistry