TYPO3.Fluid Rendering Engine
TYPO3 community template engine - composer-enabled, Flow/CMS dependency-free PSR-4 edition.
Installation
- Include as composer dependency using
composer require typo3fluid/fluid
- Run
composer install
to generate the vendor class autoloader - The classes from
TYPO3.Fluid
can now be used in your composer project
Usage Examples
Small usage examples have been included in the examples/ folder. The examples are PHP scripts which render the
templates and their atomic partials and layouts from the folders. In the PHP files you can find the most basic implementation
example - and you can execute the examples by running them through your HTTPD or calling php examples/example_variables.php
etc.
Tip: you can execute all examples in the same run by calling
find examples/ -depth 1 -name *.php -exec php {} \;
Usage Documentation
- The Fluid template file structure - where to place which template files
- The Fluid syntax - how the special Fluid syntax works
- ViewHelpers - what these classes do in the Fluid language