jmbtechnologylimited/twigextensions

v2.0.alpha4 2017-11-16 09:07 UTC

This package is auto-updated.

Last update: 2020-03-16 23:53:47 UTC


README

A set of Twig extensions.

V1 of Twig Extensions is for Twig V1. V2 is for Twig V2.

LinkInfo

Returns a shorterned version of a link, the domain name only.

Linkify

This simply wraps Misd\Linkify\Linkify which provides all kind of options for adding attributes and a callback.

SameDay

Returns a boolean indicating if two date times are on the same day.

TimeZone

Can convert a DateTime into the timezone of your choice.