pw6/hyphenator
最新稳定版本:1.0.0
Composer 安装命令:
composer require pw6/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
README 文档
README
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/).
Installation
Just add typearea/hyphenator to Your composer.json and run composer.phar update to add Hyphenator to Your project.
Usage
see sample.php
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.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: New
- 更新时间: 2025-07-30