lukasbableck/contao-twig-utils-bundle

This bundle provides some useful additional twig functions and filters for Contao Open Source CMS.

Fund package maintenance!
lukasbableck

Installs: 19

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:contao-bundle

1.0.1 2025-04-07 05:50 UTC

This package is auto-updated.

Last update: 2025-04-07 05:50:48 UTC


README

This bundle provides some useful additional twig functions and filters for Contao Open Source CMS.

filters

json_decode(?bool $assoc = false)

Decodes a JSON string into a PHP array or object.

Functions

file(id|uuid|path)

Returns the FilesModel for the given id, uuid or path.