league/commonmark
Extensible PHP Markdown parser supporting the full CommonMark spec and GitHub-Flavored Markdown. Works with PHP 7.4+ (mbstring) and provides simple converters to turn Markdown into HTML with configurable safety options.
layout: default title: Installation description: Instructions on how to install the league/commonmark library redirect_from:
The recommended installation method is via Composer.
composer require "league/commonmark:^2.7"
Ensure that you’ve set up your project to autoload Composer-installed packages.
SemVer will be followed closely. It's highly recommended that you use Composer's caret operator to ensure compatibility; for example: ^2.7. This is equivalent to >=2.7 <3.0.
How can I help you explore Laravel packages today?