phppkg/cli-markdown
CLI-Markdown renders Markdown with ANSI colors in your terminal. Built on cebe/markdown and toolkit/cli-utils, it supports automatic color rendering and customizable CLI color tags. Load Markdown text, call render(), and echo the result for a styled console output.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cdaguerre/markdown-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| league/commonmark | 0.86 | league/commonmark is a highly extensible PHP Markdown parser supporting the full CommonMark spec and GitHub-Flavored Markdown. It offers simple converters, customizable options, extensions, and safe HTML handling. Requires PHP 7.4+ and mbstring. | 2,982 | 3,021 | 223 | 20M | 15 | 57.2 | 68.5 | BSD-3-Clause | 1 week ago | |
| knplabs/knp-markdown-bundle | 0.86 | — | 412 | 432 | 46 | 17K | 0 | 3.8 | 15.8 | MIT | 4 years ago | |
| graham-campbell/markdown | 0.85 | — | 1,346 | 1,365 | 137 | 177K | 0 | 27.2 | 31.2 | MIT | 7 months ago | |
| spatie/commonmark-highlighter | 0.85 | Server-side syntax highlighting for league/commonmark code blocks using scrivo/highlight.php. Generates HTML compatible with highlight.js themes, reducing JavaScript and avoiding flashes of unstyled code. Supports 185+ languages for fast, clean markdown rendering. | 139 | 139 | 10 | 17K | 0 | 2.0 | 20.5 | MIT | 5 years ago | |
| andchir/markdown-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 1.5 | — | MIT | 6 years ago | |
| bramus/ansi-php | 0.84 | bramus/ansi-php is a lightweight PHP library for working with ANSI escape codes in the terminal. Easily colorize and style CLI output, move the cursor, clear sections of the screen, and build richer command-line interfaces with minimal setup. | 96 | 97 | 10 | 155K | 3 | 1.6 | 44.9 | MIT | — | |
| fluxbb/commonmark | 0.84 | Laravel-friendly CommonMark utilities from FluxBB: parse, render, and work with Markdown/CommonMark content in PHP with sensible defaults and integration patterns suited to Laravel apps. Lightweight package aimed at consistent, safe content rendering. | 15 | 15 | 1 | 12 | 5 | 1.4 | 4.5 | MIT | — | |
| johnnyhuy/laravel-useful-commonmark-extension | 0.83 | — | 7 | 7 | 4 | 5 | 1 | 4.5 | 2.9 | MIT | 6 years ago | |
| labrodev/laravel-markdownable | 0.81 | Laravel package to load Markdown pages with YAML front matter by slug, parse metadata, convert to HTML, and return a structured PageData object. Includes contracts for swapping implementations and a Markdownable facade for simple access. | 0 | 0 | 0 | 11 | 0 | 0.0 | 14.9 | MIT | — | |
| michelf/php-markdown | 0.81 | michelf/php-markdown is a fast, standards-based Markdown parser for PHP (Markdown and Markdown Extra). Convert Markdown text to HTML with optional extended syntax, designed for easy embedding in apps and frameworks, with stable output and minimal setup. | 3,458 | 3,548 | 521 | 646K | 87 | 52.3 | 54.9 | NOASSERTION | — | |
| spatie/laravel-markdown | 0.81 | Render Markdown in Laravel with a Blade x-markdown component or a configurable MarkdownRenderer. Converts content to HTML with heading IDs, links, and syntax-highlighted code blocks, using options from your config and container resolution. | 416 | 418 | 31 | 372K | 0 | 18.0 | 42.9 | MIT | 8 months ago | |
| barthy-koeln/bash-echolorized | 0.81 | Minimal bash helper for clean, colorized CLI output in CI/CD scripts and git hooks. Source it via Composer or npm/yarn and use e_info/e_success/e_warning/e_error plus colored_output and tagged_output for readable, tagged status lines. | 3 | 3 | 0 | 0 | 0 | 0.6 | — | MIT | 5 years ago | |
| beeflow/markdown-editor | 0.79 | Lightweight GitHub-Flavored Markdown editor you can embed or reuse in your project. Install via Composer (dev-master with Git repo) or clone from GitHub. Intended as copy/modify-friendly code for a live Markdown editing experience. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| codedungeon/php-cli-colors | 0.77 | Add ANSI color codes to PHP CLI output with simple constants. Use Color::GREEN, Color::RESET, etc. to style messages in console apps. Lightweight, zero-config, and easy to drop into any Composer-based project. | 101 | 104 | 3 | 169K | 0 | 0.6 | 44.5 | MIT | — | |
| derafu/markdown | 0.75 | Derafu Markdown is a PHP library for rendering Markdown content in your applications. It offers a straightforward way to convert Markdown to HTML, with full documentation available on the Derafu site. Part of the Derafu UI toolkit. | 0 | 0 | 0 | 165 | 0 | 22.8 | 36.0 | MIT | 1 week ago | |
| jakub-onderka/php-console-highlighter | 0.75 | Abandoned package for syntax-highlighting PHP code in the terminal using ANSI colors. Provides a Highlighter that outputs highlighted whole-file or snippet content for CLI display. Suggested alternative: php-parallel-lint/PHP-Console-Highlighter. | 6,149 | 5,952 | 17 | 330K | 0 | 27.3 | 24.0 | MIT | 8 years ago | |
| php-parallel-lint/php-console-highlighter | 0.74 | Highlight PHP source code in the terminal with readable, colorized syntax. php-console-highlighter works with ConsoleColor and can highlight whole files or snippets—ideal for CLI tools, linters, and test output to quickly spot errors and context. | 86 | 86 | 6 | 1M | 0 | 1.7 | 56.4 | MIT | 4 years ago | |
| spatie/laravel-markdown-response | 0.74 | Serve markdown versions of Laravel HTML pages to AI agents and bots. Detects text/markdown Accept headers, AI user agents, or .md URLs; converts via local PHP or Cloudflare Workers AI, caches results, and supports HTML preprocessing. | 84 | 83 | 9 | 60K | 0 | 22.2 | 46.0 | MIT | 2 weeks ago | |
| spatie/commonmark-shiki-highlighter | 0.74 | League/CommonMark code block renderer that highlights fenced code using Shiki PHP. Includes extra Antlers and Blade grammars in addition to Shiki’s 100+ languages. Ideal for Laravel setups (see spatie/laravel-markdown). Requires JS shiki v1. | 92 | 92 | 15 | 372K | 0 | 5.8 | 50.2 | MIT | 11 months ago |
How can I help you explore Laravel packages today?