cebe/markdown
PHP library that parses Markdown to HTML in the traditional, GitHub-flavored and Markdown Extra flavors.
cebe/markdown is a PHP library that parses Markdown text to HTML. It has one parser class per flavor: traditional Markdown, GitHub-flavored Markdown and Markdown Extra. The README describes Markdown Extra as not fully supported.
It runs inside a PHP application and is installed with Composer. The README names the Yii Framework’s API documentation and guide among the projects that use it.
Worth knowing
The parser reads PHPDoc annotations to find the Markdown elements it handles, so a PHP opcache has to keep comments in the code. The README lists extensions to the library written by others.
Identity
- Status
- Stub
- Maintainer
- Carsten Brandt3
- Maintained by
- Individual
- First release
- 20145
Rendering and deploy
- Install with
- composer2
Releases
Adoption
Sources
- 2026-11-04: links, Written in, License, GitHub stars
api.github.com/repos/cebe/markdown - 2026-11-04: links, Categories, Runtime, Install with
github.com/cebe/markdown/blob/master/README.md - 2026-11-04: Maintainer, License model
raw.githubusercontent.com/cebe/markdown/master/LICENSE - 2026-11-04: Minimum runtime
raw.githubusercontent.com/cebe/markdown/1.2.1/composer.json - 2026-11-04: First release, Current major version, Last release
api.github.com/repos/cebe/markdown/releases - 2026-11-04: Contributors
api.github.com/repos/cebe/markdown/contributors?per_page=1 - 2026-11-04: Packagist downloads
packagist.org/packages/cebe/markdown.json - 2026-11-04: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/cebe%2Fmarkdown