https://github.com/thephpleague/commonmark

This Markdown parser is released by the League of Extraordinary Packages, a group of developers who have banded together to build solid, well tested PHP packages using modern coding standards.