carbon/hyphen

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

Make hyphens easier in Neos CMS

dev-dependabot/composer/neos/fusion-tw-9.0.2

Version
dev-dependabot/composer/neos/fusion-tw-9.0.2
Type
neos-carbon
Release Date
Apr 08, 2025 22:37
Source
git
Distribution
zip
Requires
  • neos/flow: *
  • neos/fusion: ^9.0.2
  • vanderlee/syllable: ^1.7
GPL-3.0
  • #flow
  • #helper
  • #neos
  • #carbon
  • #fusion
73c1ef19fef78f254a385d3726a32efda34e4455

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