elnur/twig-extensions-bundle

Commonly needed Twig extensions

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/elnur/twig-extensions-bundle

dev-master 2012-11-15 14:07 UTC

This package is not auto-updated.

Last update: 2025-09-27 17:52:02 UTC


README

Currently, the bundle provides just two operators: starts_with and ends_with.

{% if 'Hello world' starts_with 'Hello' %}
{% if 'Hello world' ends_with 'world' %}