krakjoe / cmark

CommonMark for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmark

CommonMark API

Build Status Build status Coverage Status

Requires

  • libcmark version >= 0.28

Installation

From PECL

To install latest stable version

pecl install cmark

From sources

Use release branch for stable version or develop branch.

phpize
./configure --with-cmark[=DIR] [ --with-cmark-coverage ]
make
make test

Notice: without the DIR argument, the configure script rely on pkg-config output to locate the libcmark library.

Binary packages

Microsoft Windows

Download DLL from the pecl page.

Fedora / CentOS / RHEL

RPM are available in Remi's repository.

Documentation

Documentation can be found in the PHP Manual

About

CommonMark for PHP

License:Other


Languages

Language:C 75.4%Language:PHP 19.5%Language:Lex 1.5%Language:C++ 1.4%Language:Yacc 1.2%Language:M4 0.8%Language:Makefile 0.2%