PHPackages                             mmikkel/lettering - 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. mmikkel/lettering

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

mmikkel/lettering
=================

Like Lettering.js, but in Twig

1.0.2(7y ago)55803[4 issues](https://github.com/mmikkel/Lettering-Craft3/issues)[1 PRs](https://github.com/mmikkel/Lettering-Craft3/pulls)1MITPHP

Since Dec 9Pushed 5y ago2 watchersCompare

[ Source](https://github.com/mmikkel/Lettering-Craft3)[ Packagist](https://packagist.org/packages/mmikkel/lettering)[ RSS](/packages/mmikkel-lettering/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (1)

Lettering plugin for Craft CMS 3.x
==================================

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

Like [Lettering.js](http://letteringjs.com/), but in Twig

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 mmikkel/lettering

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

Lettering Overview
------------------

[](#lettering-overview)

*Lettering* is a port of [Lettering.js](http://letteringjs.com/), for Craft CMS.

Looking for the Craft 2 version? [It's right here!](https://github.com/sjelfull/Craft-Lettering)

Using Lettering
---------------

[](#using-lettering)

### Split on characters

[](#split-on-characters)

```
{% set text %}
    Foo bar
{% endset %}

{{ text|lettering }}
```

Output:

```

    F
    o
    o

    b
    a
    r

```

### Split on words

[](#split-on-words)

```
{% set text %}
    Foo bar baz
{% endset %}

{{ text|lettering('words') }}
```

Output:

```

    Foo
    bar
    baz

```

### Split on lines

[](#split-on-lines)

```
{% set text %}
    Foo
        bar baz
{% endset %}

{{ text|lettering('lines') }}
```

Output:

```

    Foo bar
    baz

```

### Tag pair usage

[](#tag-pair-usage)

```
{% filter lettering('words') %}
    {{ entry.title }}
{% endfilter %}
```

### Extract aria label and chars/words/lines

[](#extract-aria-label-and-charswordslines)

```
{% set lettering = craft.lettering.chars('Sanctimonious Variable Lettering') %}

{{ lettering.chars }}
```

Disclaimer
----------

[](#disclaimer)

This plugin is provided free of charge and you can do whatever you want with it. Lettering is unlikely to mess up your stuff, but just to be clear: the author is not responsible for data loss or any other problems resulting from the use of this plugin.

Please report any bugs, feature requests or other issues [here](https://github.com/mmikkel/Lettering-Craft3/issues). Note that this is a hobby project and no promises are made regarding response time, feature implementations or bug fixes.

**Pull requests are extremely welcome**

Brought to you by [Fred Carlsen](http://sjelfull.no) + [Mats Mikkel Rummelhoff](https://vaersaagod.no)

Plugin icon: L shape by Lluisa Iborra from [the Noun Project](https://thenounproject.com)

###  Health Score

28

↓

LowBetter than 54% of packages

Maintenance4

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

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 ~154 days

Total

3

Last Release

2773d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/298510?v=4)[M. Mikkel Rummelhoff](/maintainers/mmikkel)[@mmikkel](https://github.com/mmikkel)

---

Top Contributors

[![mmikkel](https://avatars.githubusercontent.com/u/298510?v=4)](https://github.com/mmikkel "mmikkel (7 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginletteringlettering-js

### Embed Badge

![Health badge](/badges/mmikkel-lettering/health.svg)

```
[![Health](https://phpackages.com/badges/mmikkel-lettering/health.svg)](https://phpackages.com/packages/mmikkel-lettering)
```

###  Alternatives

[lewisjenkins/craft-dynamic-fields

Populate Craft fields with dynamic data using the power of Twig.

14667.0k](/packages/lewisjenkins-craft-dynamic-fields)[nystudio107/craft-minify

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

37461.2k29](/packages/nystudio107-craft-minify)[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)[craftpulse/craft-colour-swatches

Let clients choose from a predefined set of colours and utilise associated colour codes and class names in your templates.

3530.8k2](/packages/craftpulse-craft-colour-swatches)[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)
