carbon/hyphen

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

Make hyphens easier in Neos CMS

3.0.1

Version
3.0.1
Type
neos-carbon
Release Date
May 17, 2021 13:58
Source
git
Distribution
zip
Requires
  • neos/flow: *
  • neos/fusion: ^4.3 || ^5.0 || ^7.0
  • vanderlee/syllable: ^1.5
GPL-3.0
  • #flow
  • #helper
  • #neos
  • #carbon
  • #fusion
9cc22f46646446045211ae2089ad1e5c62deb9fa

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).