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

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

webrocker/hyphenator
====================

Hyphenator is a cache-enabled PHP port of the JavaScript Hyphenator.js by Mathias Nater.

15.2k↑1400%4[1 PRs](https://github.com/webrocker/hyphenator/pulls)PHP

Since Aug 21Pushed 13y ago3 watchersCompare

[ Source](https://github.com/webrocker/hyphenator)[ Packagist](https://packagist.org/packages/webrocker/hyphenator)[ RSS](/packages/webrocker-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 `webrocker/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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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://www.gravatar.com/avatar/e679bb5cfa766ab13c37aff2f08849046592ae3b4a5b1179c19787f5dbaf9170?d=identicon)[webrocker](/maintainers/webrocker)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[steffenbrand/dmn-decision-tables

PHP library to programmatically create DMN decision tables.

1916.7k](/packages/steffenbrand-dmn-decision-tables)

PHPackages © 2026

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