PHPackages                             timnarr/hyphenate - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. timnarr/hyphenate

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

timnarr/hyphenate
=================

Hyphenate is a Statamic addon providing a modifier to hyphenate strings based on the TeX-Hyphenation algorithm provided by the org\_heigl/hyphenator package.

v1.0.2(3y ago)0895MITPHP

Since Mar 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/timnarr/hyphenate)[ Packagist](https://packagist.org/packages/timnarr/hyphenate)[ Fund](https://www.buymeacoffee.com/TimGr)[ RSS](/packages/timnarr-hyphenate/feed)WikiDiscussions main Synced 1mo ago

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

Hyphenate
=========

[](#hyphenate)

Hyphenate is a Statamic addon providing a modifier to hyphenate strings based on the TeX-Hyphenation algorithm provided by the org\_heigl/hyphenator package.

The Hyphenate modifier will output a “soft hyphen” using the HTML entity `&shy;`. This entity marks wehre the browser should break if necessary.

Install via Composer
--------------------

[](#install-via-composer)

```
composer require timnarr/hyphenate

```

Usage
-----

[](#usage)

```
{{ title | hyphenate }}

```

Read more about Statamic modifiers here

Example
-------

[](#example)

Let's assume we have a multilang page and a heading `title`, which holds "Hyphenation" in english and "Silbentrennung" in german.

We output `title` in your antlers file and use the `hyphenate` modifier like this:

```
  {{ title | hyphenate }}
```

And the final HTML output is:

```
  Silben&shy;tren&shy;nung
  Hyphen&shy;a&shy;tion
```

Note
----

[](#note)

Frequent use of the `hyphenate` modifier, especially on long texts, can affect your page performance and slow down your website. Please use in combination with caching!

License
-------

[](#license)

MIT License © 2023-present Tim Grochowski

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

Total

3

Last Release

1104d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75cefc2df4ef7934de03eae279eadce11b87ebf6252019a643a626327e887ef5?d=identicon)[TimNarr](/maintainers/TimNarr)

---

Top Contributors

[![timnarr](https://avatars.githubusercontent.com/u/3532570?v=4)](https://github.com/timnarr "timnarr (1 commits)")

---

Tags

hyphenationstatamicstatamic-addonhyphenationhyphenatestatamicStatamic addontextex-hyphenationstatamic-modifier

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/timnarr-hyphenate/health.svg)

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

###  Alternatives

[org_heigl/hyphenator

Word-Hyphenation for PHP based on the TeX-Hyphenation algorithm

541.3M14](/packages/org-heigl-hyphenator)[visuellverstehen/statamic-classify

A useful helper to add CSS classes to all HTML tags generated by the bard editor.

20116.8k](/packages/visuellverstehen-statamic-classify)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)[withcandour/aardvark-seo

Save time and get your Statamic site to rank better with the SEO addon for Statamic.

13128.3k](/packages/withcandour-aardvark-seo)[mitydigital/sitemapamic

An XML sitemap generator for Statamic that includes all collections and related taxonomy pages.

1485.2k](/packages/mitydigital-sitemapamic)[aerni/livewire-forms

A Statamic forms framework powered by Laravel Livewire

2912.8k](/packages/aerni-livewire-forms)

PHPackages © 2026

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