wegmeister/hyphenator

Last activity 19 Sep 2022 2 3497
composer require wegmeister/hyphenator

Neos-Plugion of the Word-Hyphenation for PHP based on the TeX-Hyphenation algorithm.

4.0.0

Version
4.0.0
Type
neos-plugin
Release Date
Sep 19, 2022 09:17
Source
git
Distribution
zip
Requires
  • php: >=7.0
  • org_heigl/hyphenator: ^2.3
  • neos/neos: ^5.0 || ^7.0 || ^8.0
GPL-3.0-or-later 449a59051ff33455a513b5c1686dfd9972b4f91f

Readme excerpt

Wegmeister.Hyphenator

Neos-Plugion of the Word-Hyphenation for PHP based on the TeX-Hyphenation algorithm.

Installation

To install the package simply run

composer require wegmeister/hyphenator Usage

Add the hyphenator to the elements you want hyphenation on:

Usage via fusion:

prototype(Vendor.Package:Element) { # Add the hyphenator to a specific property only: property = ${q(node).property('property')} property.@process.hyphenate = Wegmeister.Hyphenator:Hyphenate { # Set locale to the locale you want to use, defaults to the current locale locale = 'de_DE' # Set forceConversion to "true" if you also want to hyphenate the text in the backend.…
Read more
The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 9 package(s).