jmbtechnologylimited/twigextensions

Twig Extensions.

Installs: 2 247

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/jmbtechnologylimited/twigextensions

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

This package is auto-updated.

Last update: 2025-09-17 11:38:45 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.