2017 © Pedro Peláez
 

library hyphenator

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

image

webrocker/hyphenator

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

  • Tuesday, August 21, 2012
  • by webrocker
  • Repository
  • 3 Watchers
  • 1 Stars
  • 5,184 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 3 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

hyphenator

Hyphenator is an object-oriented and cache-enabled port of phpHyphenator(http://phphyphenator.yellowgreen.de/) which is a PHP port of the JavaScript Hyphenator by Mathias Nater(http://code.google.com/p/hyphenator/)., (*1)

Installation

Just add webrocker/hyphenator to Your composer.json and run composer.phar update to add Hyphenator to Your project., (*2)

Usage

see sample.php, (*3)

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., (*4)

The Versions

21/08 2012

dev-master

9999999-dev https://github.com/webrocker/hyphenator

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

  Sources   Download

New BSD

The Requires

  • php >=5.3.0

 

hyphenation hyphenator hyphenate