diff --git a/composer.json b/composer.json index 9b119df..9e31b2f 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,8 @@ ], "require": { "oxid-esales/oxideshop-ce": "^7.0.0", - "twig/twig": "^3.6" + "twig/twig": "^3.6", + "jasny/twig-extensions": "^1.3.0" }, "autoload": { "psr-4": { diff --git a/services.yaml b/services.yaml index 799bb8b..70e850a 100644 --- a/services.yaml +++ b/services.yaml @@ -9,4 +9,17 @@ services: tags: ['twig.extension'] D3\OxidTwigExtensions\ShopConfigurationExtension: - tags: ['twig.extension'] \ No newline at end of file + tags: ['twig.extension'] + +# requires intl extension +# Jasny\Twig\DateExtension: +# tags: ['twig.extension'] + + Jasny\Twig\PcreExtension: + tags: ['twig.extension'] + + Jasny\Twig\TextExtension: + tags: [ 'twig.extension' ] + + Jasny\Twig\ArrayExtension: + tags: [ 'twig.extension' ] \ No newline at end of file