Beautifier is a php syntax formatter and highlighter. It’s not really complete, but is easy to use.
However, a simple feature is lacking: the words colored are detected using a simple hash table of keywords. Hence, keywords not registered (like variables name for example) are not highlighted. Therefore I implemented a simple detection of such keywords by using regular expressions.
You can then had in your HFile a table $this->keypats that maps perl style regular expression to category number.
for example:
The new sources are attached, under GPL. Please provide a link to the sources on your site if you use this tool.



