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: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:contao-bundle

1.1.0 2025-04-29 06:05 UTC

This package is auto-updated.

Last update: 2025-04-29 06:09:20 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

contao_form(id|alias)

Generates a form and returns the html output.

file(id|uuid|path)

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