Login   Register  
PHP Classes
elePHPant
Icontem

PHPBiDi: Get visual representation of right to left strings

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-01-16 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 405 All time: 5,840 This week: 1,556Up
Version License PHP version Categories  
phpbidi 1.0GNU General Public Lice...5.0HTML, Localization, PHP 5, Text proce...
Description Author  

PHPBiDi is an implementation of the Unicode Bidirectional Algorithm in PHP.

This package can be used to get the visual representation of text strings for languages that are written from right to left.

It can parse right to left strings of plain text or HTML and returns visually, rather than logically, ordered strings of characters.

Innovation Award  
PHP Programming Innovation award nominee
February 2008
Number 3


Prize: One copy of the Zend Studio
The documents that are in certain idioms use writing systems, like the Arabic, Hebrew and Persian, that have the text characters rendered from right to left (RTL), unlike texts that use the Latin alphabet, that have the text rendered from left to right (LTR).

When you have documents that mix RTL and LTR text, you have a bidirectional text (BiDi). Bidirectional documents present a greater challenge to be rendered, as you need to figure how to render the different sections of the text.

This class provides a solution to process bidirectional documents in such way that it returns the text ordered according the way it is visually rendered.

Manuel Lemos
Picture of Efthimios Mavrogeorgiadis
Name: Efthimios ... is available for providing paid consulting. Contact Efthimios ... .
Classes: 1 package by
Country: Greece Greece
Age: 44
All time rank: 312720 in Greece Greece
Week rank: 1677 Up10 in Greece Greece Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example File
Plain text file phpbidi.php Class PHPBiDi Class File
Plain text file unicode.php Class UniChar Class File
Accessible without login Plain text file unicode_data.php Aux. Data File

 Version Control Unique User Downloads Download Rankings  
 0%Total:405All time:5,840
 This week:0This week:1,556Up