league/commonmark
Highly extensible PHP Markdown parser supporting full CommonMark and GitHub-Flavored Markdown. Convert Markdown to HTML with simple converters, customize rendering via extensions, and run safely with options like stripping HTML and blocking unsafe links.
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?