carbon/hyphen

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

Make hyphens easier in Neos CMS

2.0.1

Version
2.0.1
Type
neos-carbon
Release Date
Feb 25, 2021 00:07
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
2731b2a45ec621d047a8a4318e2412d14d64d02b

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