{"id":21330510,"url":"https://github.com/friendsofredaxo/hyphenator","last_synced_at":"2025-10-14T01:34:02.408Z","repository":{"id":138950168,"uuid":"62119361","full_name":"FriendsOfREDAXO/hyphenator","owner":"FriendsOfREDAXO","description":"Ermöglicht Silbentrennung auf Basis von PHP","archived":false,"fork":false,"pushed_at":"2022-05-27T09:35:14.000Z","size":3040,"stargazers_count":35,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-12T08:40:37.122Z","etag":null,"topics":["addon","hyphenation","redaxo","redaxo-addon"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FriendsOfREDAXO.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-06-28T07:23:45.000Z","updated_at":"2023-12-31T15:12:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"364a6e6f-7b54-4049-bf14-e42e294fe52e","html_url":"https://github.com/FriendsOfREDAXO/hyphenator","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/FriendsOfREDAXO/hyphenator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfREDAXO%2Fhyphenator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfREDAXO%2Fhyphenator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfREDAXO%2Fhyphenator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfREDAXO%2Fhyphenator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FriendsOfREDAXO","download_url":"https://codeload.github.com/FriendsOfREDAXO/hyphenator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfREDAXO%2Fhyphenator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017499,"owners_count":26086084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addon","hyphenation","redaxo","redaxo-addon"],"created_at":"2024-11-21T22:20:29.129Z","updated_at":"2025-10-14T01:34:02.402Z","avatar_url":"https://github.com/FriendsOfREDAXO.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Hyphenator\n==========\n\nAddon für REDAXO 5: Ermöglicht Silbentrennung auf Basis von PHP.\n\n![Screenshot](https://raw.githubusercontent.com/FriendsOfREDAXO/hyphenator/assets/hyphenator_01.png)\n\n## Funktion\n\nDas Addon verwendet die [Hyphenator](https://github.com/heiglandreas/Org_Heigl_Hyphenator)-Bibliothek, um eine serverseitige Silbentrennung — hier also PHP und nicht JavaScript, worauf andere Silbentrenner häufig basieren — zu ermöglichen. Diese nutzt [verschiedene Algorithmen](http://orgheiglhyphenator.readthedocs.io/en/latest/hyphenator/), um Stellen innerhalb von Wörten zu finden, an denen getrennt werden kann. Das Addon fügt an diesen Stellen ein Trennzeichen ein, das üblicherweise `\u0026shy;` ist, jedoch innerhalb der Addon-Konfiguration frei definiert werden kann.\n\n![Screenshot](https://raw.githubusercontent.com/FriendsOfREDAXO/hyphenator/assets/hyphenator_02.png)\n\n## Verwendung\n\nCode-Beispiele zur Verwendung innerhalb eines Modul-Outputs:\n\n```php\n// Text (aktuelle Sprache):\necho hyphenator::hyphenate('REX_VALUE[id=1]');\n\n// Text (andere Sprache):\necho hyphenator::hyphenate('REX_VALUE[id=1]', 'en');\n\n// Markup:\necho hyphenator::hyphenate('REX_VALUE[id=1 output=html]');\n\n// Textile im MarkItUp Editor:\n$textile = rex_markitup::parseOutput('textile', 'REX_VALUE[id=1 output=\"html\"]');\necho hyphenator::hyphenate($textile);\n```\n\n## Anmerkungen\n\n* WebKit (Safari, Opera) hat Probleme mit `\u0026shy;` in manchen WOFF-Webfonts. Es tauchen dann an der Stelle des Umbruchs eigenartige Zeichen auf (siehe [Bugtracker-Issue](https://bugs.webkit.org/show_bug.cgi?id=156167)).  \nAls Workaround kann `\u003ci\u003e\u003c/i\u003e\u0026shy;` als Trennzeichen verwendet werden, was das Addon in der Standardkonfiguration bereits eigenständig übernimmt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendsofredaxo%2Fhyphenator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendsofredaxo%2Fhyphenator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendsofredaxo%2Fhyphenator/lists"}