cebe/markdown
A super fast, highly extensible markdown parser for PHP
...The implementation focus is to be fast (see benchmark) and extensible. You are able to add additional language elements by directly hooking into the parser, no (possibly error-prone) post- or pre-processing is needed to extend the language. It is also well-tested to provide the best rendering results also in edge cases where other parsers fail.