PHPackages                             typearea/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. typearea/hyphenator

ActiveLibrary

typearea/hyphenator
===================

Hyphenator is a cache-enabled PHP port of the JavaScript Hyphenator.js by Mathias Nater, and this is a bugfix fork of github.com/webrocker/hyphenator

116.4k↑112.5%2[1 PRs](https://github.com/typearea/hyphenator/pulls)PHP

Since May 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/typearea/hyphenator)[ Packagist](https://packagist.org/packages/typearea/hyphenator)[ RSS](/packages/typearea-hyphenator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

hyphenator
==========

[](#hyphenator)

Hyphenator is an object-oriented and cache-enabled port of phpHyphenator() which is a PHP port of the JavaScript Hyphenator by Mathias Nater().

Installation
------------

[](#installation)

Just add `typearea/hyphenator` to Your `composer.json` and run `composer.phar update` to add Hyphenator to Your project.

Usage
-----

[](#usage)

see `sample.php`

Performance
-----------

[](#performance)

Consider using `MemcachedCache` or `ApcCache` to improve performance. When a cache is present, Hyphenator will cache calls to the `hyphenate()` method and only translate a text if needed. Hyphenator will also cache the conversion of language patterns after including, which is CPU-heavy.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2655838?v=4)[Michael Giesler](/maintainers/michaelgiesler)[@michaelgiesler](https://github.com/michaelgiesler)

---

Top Contributors

[![webrocker](https://avatars.githubusercontent.com/u/524001?v=4)](https://github.com/webrocker "webrocker (2 commits)")[![michaelgiesler](https://avatars.githubusercontent.com/u/2655838?v=4)](https://github.com/michaelgiesler "michaelgiesler (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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