PHPackages                             sitegeist/fluid-tagbuilder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. sitegeist/fluid-tagbuilder

ActiveLibrary[Templating &amp; Views](/categories/templating)

sitegeist/fluid-tagbuilder
==========================

ViewHelpers for html5 tags that improve readability in complex fluid templates

1.0.3(1mo ago)09.0k↓26.7%1[1 PRs](https://github.com/sitegeist/fluid-tagbuilder/pulls)1GPL-2.0-or-laterPHPPHP ^8.2

Since Jun 14Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/sitegeist/fluid-tagbuilder)[ Packagist](https://packagist.org/packages/sitegeist/fluid-tagbuilder)[ Docs](https://github.com/sitegeist/fluid-tagbuilder)[ RSS](/packages/sitegeist-fluid-tagbuilder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (6)Used By (1)

Fluid TagBuilder
================

[](#fluid-tagbuilder)

This is an attempt to make complex Fluid templates with a lot of dynamically pieced together HTML tags more readable.

Disclaimer: This is no one fits all solution and should only be used when appropriate, certainly not for all tags in your template!

before:

```

    More content

```

after:

```

    More content

```

Getting started
---------------

[](#getting-started)

Install the library [via composer](https://packagist.org/packages/sitegeist/fluid-tagbuilder):

```
composer require sitegeist/fluid-tagbuilder

```

... and start using it in your templates:

```

```

With TYPO3 14 you can define the global Fluid namespaces within php:

```
//  EXT:my_extension/Configuration/Fluid/Namespaces.php
