Package proposal: KeyLighter

29 views
Skip to first unread message

Kacper Donat

unread,
Jun 12, 2016, 12:48:29 PM6/12/16
to thephpleague
Hi everyone,

Little time ago, I've started my syntax highlighting library keylighter project, firstly as simple research, that was continued and refactored later. For now it's work in progress, but it is close to 1.0, just need to add few more things but public API is already stable. What's left to do? Mainly documentation - for now only usage is described (because it's not likely to change over time), and there is nothing about extending which IMO is important for that particular library.

Why should we care about it? As far as i know, there is only one other syntax highlighter for PHP - GeSHi (I think that almost everyone knows it) - which is really out of date, buggy and not maintained. On the other side, KeyLighter is built upon PHP 5.5, so basically works on all supported PHP versions, is fast - based on highlighting geshi.php it can be even 3 times faster than GeSHi, and has some nice features unavailable in other syntax highlighting solutions (at least, I haven't spotted them anywhere else) like multiple language nesting *click*. It's not bound to any format, so it can output HTML, as well as ANSI codes or anything else - I will probably write some more formats in the future. More informations are available on projects site.

So what do You think about that? I would appreciate any feedback and try to answer any questions.

Thanks,
Kacper Donat
Reply all
Reply to author
Forward
0 new messages