carbon/hyphen

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

Make hyphens easier in Neos CMS

3.1.0

Version
3.1.0
Type
neos-carbon
Release Date
Mar 29, 2022 07:07
Source
git
Distribution
zip
Requires
  • neos/flow: *
  • neos/fusion: ^4.3 || ^5.0 || ^7.0 || ^8.0
  • vanderlee/syllable: ^1.5
GPL-3.0
  • #flow
  • #helper
  • #neos
  • #carbon
  • #fusion
d03af1e98fd924ef56008a28c95e20e819729907

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