PHPackages                             rasteiner/kirby-hyphens - 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. rasteiner/kirby-hyphens

ActiveKirby-plugin[Utility &amp; Helpers](/categories/utility)

rasteiner/kirby-hyphens
=======================

A Kirby field method to add automatic hyphenation to text.

1.0.0(2y ago)1281MITPHPPHP &gt;=8.1.0

Since Feb 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/rasteiner/kirby-hyphens)[ Packagist](https://packagist.org/packages/rasteiner/kirby-hyphens)[ RSS](/packages/rasteiner-kirby-hyphens/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Kirby 3 / 4 Hyphens Plugin
==========================

[](#kirby-3--4-hyphens-plugin)

This is a plugin for Kirby 3 and 4 that provides automatic hyphenation for your text content. It uses the [Vanderlee PHP Syllable library](https://github.com/vanderlee/phpSyllable) to perform hyphenation.

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

[](#installation)

### Download

[](#download)

Download and copy this repository to /site/plugins/kirby-hyphens.

### Git submodule

[](#git-submodule)

```
git submodule add https://github.com/rasteiner/kirby-hyphens.git site/plugins/kirby-hyphens

```

### Composer

[](#composer)

```
composer require rasteiner/kirby-hyphens

```

Usage
-----

[](#usage)

The plugin provides a `hyphenate` field method that you can use in your templates:

```
