PHPackages                             threemagine/twig-filters - 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. threemagine/twig-filters

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

threemagine/twig-filters
========================

Extra twig filters

1.0.1(7y ago)039MITPHP

Since Apr 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/3magine/twig-filters)[ Packagist](https://packagist.org/packages/threemagine/twig-filters)[ RSS](/packages/threemagine-twig-filters/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

 [![3magine](src/icon.png)](src/icon.png)

Twig Filters plugin for Craft CMS 3.x
=====================================

[](#twig-filters-plugin-for-craft-cms-3x)

Extra twig filters

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require /twig-filters

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Twig Filters.

Twig Filters Overview
---------------------

[](#twig-filters-overview)

Available filters:

```
firstimg
firstimgsrc
excerpt
hasTwoSentences
firstSentence
secondSentence
wistia
stripparagraphs
fiximgs
is_europe
cookie_consent

```

Brought to you by [3magine](https://www.3magine.com/)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

2618d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1178550?v=4)[Karl Schellenberg](/maintainers/schellenbergk)[@schellenbergk](https://github.com/schellenbergk)

---

Top Contributors

[![schellenbergk](https://avatars.githubusercontent.com/u/1178550?v=4)](https://github.com/schellenbergk "schellenbergk (2 commits)")

---

Tags

cmsCraftcraftcmscraft-plugintwig filters

### Embed Badge

![Health badge](/badges/threemagine-twig-filters/health.svg)

```
[![Health](https://phpackages.com/badges/threemagine-twig-filters/health.svg)](https://phpackages.com/packages/threemagine-twig-filters)
```

###  Alternatives

[wbrowar/guide

A CMS Guide for Craft CMS.

6154.6k1](/packages/wbrowar-guide)[nystudio107/craft-minify

A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates.

36466.3k34](/packages/nystudio107-craft-minify)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.5k](/packages/verbb-footnotes)[jalendport/craft-preparse

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

1087.5k](/packages/jalendport-craft-preparse)[verbb/color-mixer

A set of Twig filters for modifying colors.

1321.1k](/packages/verbb-color-mixer)[vierbeuter/craft-footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

212.7k](/packages/vierbeuter-craft-footnotes)

PHPackages © 2026

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