carbon/hyphen

Last activity 14 May 2025 2 1 20016
composer require carbon/hyphen

Make hyphens easier in Neos CMS

3.2.0

Version
3.2.0
Type
neos-carbon
Release Date
May 29, 2023 16:50
Source
git
Distribution
zip
Requires
  • neos/flow: *
  • neos/fusion: ^4.3 || ^5.0 || ^7.0 || ^8.0
  • vanderlee/syllable: ^1.7
GPL-3.0
  • #flow
  • #helper
  • #neos
  • #carbon
  • #fusion
a6a3b69a14927dc9da84d4199bb7df9491254203

Readme excerpt

Carbon.Hyphen Package for Neos CMS Make hyphens easier

Optional word-breaks are hard to enter in Neos CMS. This package provides a Fusion wrapper for phpSyllable

Installation composer require carbon/hyphen Usage Text

Just use the Carbon.Hyphen:Text Fusion object as a processor or wrapper on the Fusion value that should be hyphenated.

superlongValue = 'supercalifragilisticexpialidocious' superlongValue.@process.hyphenate = Carbon.Hyphen:Text { locale = 'en-gb' } HTML

Similar to text elements you can use Carbon.Hyphen:Html for HTML elements.

someFusionHtml.@process.hyphenate = Carbon.Hyphen:Html Neos CMS integration example

You can easily activate …
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 41 package(s).