This is a PHP port of the python module for writing pandoc filters found at https://github.com/jgm/pandocfilters