installation.md 712 B


layout: default title: Installation

description: Instructions on how to install the league/commonmark library

Installation

The recommended installation method is via Composer.

In your project root just run:

composer require league/commonmark:^1.5

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

Versioning

SemVer will be followed closely. It's highly recommended that you use Composer's caret operator to ensure compatibility; for example: ^1.5. This is equivalent to >=1.5 <2.0.