PHPackages                             org\_heigl/hyphenator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. org\_heigl/hyphenator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

org\_heigl/hyphenator
=====================

Word-Hyphenation for PHP based on the TeX-Hyphenation algorithm

v3.1.0(2y ago)541.3M↓20.1%13[5 issues](https://github.com/heiglandreas/Org_Heigl_Hyphenator/issues)13MITPHPPHP ^7.2||^8.0CI failing

Since Jun 14Pushed 2y ago4 watchersCompare

[ Source](https://github.com/heiglandreas/Org_Heigl_Hyphenator)[ Packagist](https://packagist.org/packages/org_heigl/hyphenator)[ Docs](http://github.com/heiglandreas/Org_Heigl_Hyphenator)[ RSS](/packages/org-heigl-hyphenator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (33)Used By (13)

[![Build](https://github.com/heiglandreas/Org_Heigl_Hyphenator/workflows/Build/badge.svg)](https://github.com/heiglandreas/Org_Heigl_Hyphenator/workflows/Build/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/4286571bb4135948b0046dfcc080f1bb98afffa2aa05a66a67c90616f90a9fc3/68747470733a2f2f706f7365722e707567782e6f72672f6f72675f686569676c2f68797068656e61746f722f762f737461626c652e706e67)](https://packagist.org/packages/org_heigl/hyphenator)[![Total Downloads](https://camo.githubusercontent.com/17ee897f3dd3f6d74d6a442f258ca3ca54d71db55166ceb333b6f90db83ad260/68747470733a2f2f706f7365722e707567782e6f72672f6f72675f686569676c2f68797068656e61746f722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/org_heigl/hyphenator)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/21f31afce9375c8d755c838807c6b3e4c2cdc6c4039775e75eccf0620e770da4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f686569676c616e64726561732f4f72675f486569676c5f48797068656e61746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/heiglandreas/Org_Heigl_Hyphenator/?branch=main)[![Coverage Status](https://camo.githubusercontent.com/2d348d32f6802aa9066fc11aad969b45ead731851610d457cfa3e19c62eb71d9/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f686569676c616e64726561732f4f72675f486569676c5f48797068656e61746f722f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/heiglandreas/Org_Heigl_Hyphenator?branch=main)[![Stories in Ready](https://camo.githubusercontent.com/b44827be044c54f8ee49a76cd1a954daf93d83f7c2455ca608379afefa0cddff/68747470733a2f2f62616467652e776166666c652e696f2f686569676c616e64726561732f4f72675f486569676c5f48797068656e61746f722e706e673f6c6162656c3d7265616479)](https://waffle.io/heiglandreas/Org_Heigl_Hyphenator)

This library provides TeX-Hyphenation in PHP.

Requirements:
=============

[](#requirements)

This package has the following requirements:

- PHP-Version &gt;= 7.2
- Multibyte-Extension loaded
- Input has to be UTF8-encoded.

On loading the `\Org\Heigl\Hyphenator\Hyphenator`-class the internal encoding for the Multibyte-String-Extension will be set to UTF8.

Installation:
=============

[](#installation)

This package is best installed via [composer](https://getcomposer.org):

```
composer require org_heigl/hyphenator
```

More information can be found in the doc-section

Usage:
======

[](#usage)

```
use \Org\Heigl\Hyphenator as h;
// Create a hyphenator-instance based on a given config-file
$hyphenator = h\Hyphenator::factory('/path/to/the/config/file.properties');

// And hyphenate a given string
echo $hyphenator->hyphenate('Hyphenation');
// Hy-phe-na-ti-on
```

Documentation:
==============

[](#documentation)

More documentation can be found at

Build-Status of the latest release can be found at [http://travis-ci.org/#!/heiglandreas/Org\_Heigl\_Hyphenator](http://travis-ci.org/#!/heiglandreas/Org_Heigl_Hyphenator)

Legal Stuff
===========

[](#legal-stuff)

Copyright (c) 2011-2016 Andreas Heigl

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity52

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 91.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~284 days

Recently: every ~335 days

Total

16

Last Release

826d ago

Major Versions

v2.6.1 → v3.0.02022-05-21

PHP version history (4 changes)v2.0.2PHP &gt;=5.3.0

v2.0.5PHP ^5.3||^7.0

v2.1.0PHP ^5.6||^7.0

v2.4.0PHP ^7.2||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ae5183aaad2bc7453230704bd6991dc6ccbcd6e775c6a29efdc94350a69f247?d=identicon)[heiglandreas](/maintainers/heiglandreas)

---

Top Contributors

[![heiglandreas](https://avatars.githubusercontent.com/u/91998?v=4)](https://github.com/heiglandreas "heiglandreas (243 commits)")[![jdreesen](https://avatars.githubusercontent.com/u/424602?v=4)](https://github.com/jdreesen "jdreesen (11 commits)")[![damienalexandre](https://avatars.githubusercontent.com/u/225704?v=4)](https://github.com/damienalexandre "damienalexandre (4 commits)")[![Fusselwurm](https://avatars.githubusercontent.com/u/52833?v=4)](https://github.com/Fusselwurm "Fusselwurm (1 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (1 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (1 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (1 commits)")[![waffle-with-pears](https://avatars.githubusercontent.com/u/8701611?v=4)](https://github.com/waffle-with-pears "waffle-with-pears (1 commits)")

---

Tags

hyphenationhyphenate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/org-heigl-hyphenator/health.svg)

```
[![Health](https://phpackages.com/badges/org-heigl-hyphenator/health.svg)](https://phpackages.com/packages/org-heigl-hyphenator)
```

###  Alternatives

[vanderlee/syllable

Text syllable splitting and hyphenation using Frank M. Liang's TeX algorithm.

124432.6k8](/packages/vanderlee-syllable)[yireo/magento2-replace-bundled

Replace bundled third party packages from Magento

45335.0k1](/packages/yireo-magento2-replace-bundled)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
