PHPackages                             juni/craft-twig-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. juni/craft-twig-helper

ActiveCraft-plugin[Templating &amp; Views](/categories/templating)

juni/craft-twig-helper
======================

Twig Helper plugin.

1.0.1(1y ago)021mitPHP

Since Apr 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jurjennieuwenhuis/craft-twig-helper)[ Packagist](https://packagist.org/packages/juni/craft-twig-helper)[ RSS](/packages/juni-craft-twig-helper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Juni Twig Helper
================

[](#juni-twig-helper)

Adds the following Twig filters and functions for use in the templates:

**inline**

Strip `` tags from rich text field.

**lead**

Adds the class 'lead' to the paragraph elements.

**monthIndex**

Returns the number of the month in a year based on the month name.

**navTitle**

Returns the navigation title of an entry based on the custom field navigationTitle. When empty it defaults to the entry title.

**readingTime**

Estimates the reading time of a given text.

**scrub**

Removes empty `` tags from the html text. It also removes any non-breaking spaces.

**startsWith**

Returns whether a given string starts with the provided search string.

**timeAgo**

Formats a date as `7 days ago`, etc.

**typography**

Adds classes to ``, `` and `` elements so they can be styled.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance51

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

374d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/be845dae1359d319f5c41bbe16af190d92d025005fe9db0ebbd9719aba2014ee?d=identicon)[jurjennieuwenhuis@gmail.com](/maintainers/jurjennieuwenhuis@gmail.com)

---

Tags

twigcmsCraftcraftcmscraft-plugintwig-helper

### Embed Badge

![Health badge](/badges/juni-craft-twig-helper/health.svg)

```
[![Health](https://phpackages.com/badges/juni-craft-twig-helper/health.svg)](https://phpackages.com/packages/juni-craft-twig-helper)
```

###  Alternatives

[wbrowar/guide

A CMS Guide for Craft CMS.

6154.5k1](/packages/wbrowar-guide)[jalendport/craft-preparse

A fieldtype that parses Twig when an element is saved and saves the result as plain text.

1086.4k](/packages/jalendport-craft-preparse)[nystudio107/craft-autocomplete

Provides Twig template IDE autocomplete of Craft CMS &amp; plugin variables

44204.4k13](/packages/nystudio107-craft-autocomplete)[viget/craft-classnames

Classnames plugin for Craft CMS

1115.5k1](/packages/viget-craft-classnames)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.3k](/packages/verbb-footnotes)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
