Download the PHP package vusys/cm-tools without Composer
On this page you can find all versions of the php package vusys/cm-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cm-tools
cm-tools
CommonMark tools, shipped as a single binary.
- Fixed-width reflow — wrap a document's prose to a column width, or collapse it back to one line per paragraph.
- Dialect validation — check a document against a target Markdown dialect (strict CommonMark, GitHub, JIRA Cloud) and report constructs it doesn't support.
Install
Download the latest cm-tools binary from the
releases page and put it on your PATH:
Or, as a Composer dependency:
Usage
All four document commands read from stdin and write to stdout when no file/--output is
given, so they compose:
Run cm-tools <command> --help for the full option list.
Dialects
| Key | What it models |
|---|---|
commonmark |
The base CommonMark spec — no GFM extensions, no footnotes. Renders identically anywhere CommonMark is supported. |
github |
GitHub Flavored Markdown as rendered on github.com — tables, strikethrough, task lists, autolinks, footnotes. Flags the small set of raw-HTML tags GitHub strips/escapes. |
jira-cloud |
The constrained Markdown-shortcut syntax JIRA Cloud's editor accepts in descriptions/comments — not classic JIRA wiki markup. Best-effort baseline; expect it to grow as real documents surface gaps. |
Using cm-tools with Claude Code
An assistant only reaches for a tool it knows exists. install-skill writes a
skill describing what cm-tools does and
when to use it, so it doesn't have to be explained again every session:
Parent directories are created as needed, and the resolved path is printed so you can see which
scope won. An existing SKILL.md is left alone unless you pass --force.
Development
See CLAUDE.md for a map of how the package fits together.
License
MIT — see LICENSE.
All versions of cm-tools with dependencies
ext-mbstring Version *
league/commonmark Version ^2.5
symfony/console Version ^7.0