jParser and jTokenizer

A JavaScript parsing library for PHP

For more information, or to download this library see the blog, or contact @timwhitlock

System requirements

PHP >= 5.2; Check PHP version


This code library is released under the MIT license.


This is just the tokenizer. It is much smaller than the full parser.
Library file: jparser-libs/jtokenizer.php (~15KB)


This is the full JavaScript parser.
Library file: jparser-libs/jparser.php (~700KB)