The League of Extraordinary Packages

Our Packages:

Presented by The League of Extraordinary Packages

Getting Started



The recommended installation method is via Composer.

In your project root just run:

$ composer require league/commonmark:^0.11

Ensure that you’ve set up your project to autoload Composer-installed packages.


SemVer will be followed closely. 0.x versions will introduce breaking changes, so be careful which version constraints you use. It’s highly recommended that you use Composer’s caret operator to ensure compatiblity; for example: ^0.11. This is equivalent to >=0.11.0 <0.12.0.

If you’re only using the CommonMarkConverter class to convert Markdown (no other class references, custom parsers, etc.), then it should be safe to use a broader constraint like ~0.11, >0.11, etc. I personally promise to never break this specific class in any future 0.x release.