Download the PHP package smichaelsen/fluid-viewhelper-timespan without Composer
On this page you can find all versions of the php package smichaelsen/fluid-viewhelper-timespan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download smichaelsen/fluid-viewhelper-timespan
More information about smichaelsen/fluid-viewhelper-timespan
Files in smichaelsen/fluid-viewhelper-timespan
Download smichaelsen/fluid-viewhelper-timespan
More information about smichaelsen/fluid-viewhelper-timespan
Files in smichaelsen/fluid-viewhelper-timespan
Vendor smichaelsen
Package fluid-viewhelper-timespan
Short Description TimeSpanViewHelper for Fluid
License
Package fluid-viewhelper-timespan
Short Description TimeSpanViewHelper for Fluid
License
Please rate this library. Is it a good library?
Informations about the package fluid-viewhelper-timespan
TYPO3 Fluid Timespan ViewHelper
This package serves a ViewHelper for the TYPO3 templating engine Fluid.
Installation
- Composer:
composer require smichaelsen/fluid-viewhelper-timespan
- Copy the file
Resources/Private/Language/locallang.xlf
to your TYPO3 extension (or merge the contents if you already have a locallang file) and adjust/translate the labels.
Usage example
<html data-namespace-typo3-fluid="true" xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers" xmlns:vhts="http://typo3.org/ns/Smichaelsen/FluidViewHelperTimespan/ViewHelpers">
User {user.name} registered {user.crdate -> vhts:timeSpan(limitUnits:'2', extensionName: 'MyExtension')}.
</html>
Output is something like:
User Sebastian registered 3 months 7 days ago.
All versions of fluid-viewhelper-timespan with dependencies
PHP Build Version
Package Version
The package smichaelsen/fluid-viewhelper-timespan contains the following files
Loading the files please wait ....