s9e/text-formatter
PHP text formatting library with plugin support for BBCode, Markdown, HTML, and more. Includes predefined bundles, extensive documentation, and a JavaScript port for client-side preview and demos. Install via Composer and integrate customizable parsing/rendering.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| graham-campbell/markdown | 0.88 | — | 1,344 | 1,362 | 138 | 138K | 0 | 33.1 | 31.1 | MIT | 4 months ago | |
| spatie/laravel-markdown | 0.87 | 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. | 413 | 411 | 31 | 219K | 0 | 24.1 | 41.7 | MIT | 5 months ago | |
| cdaguerre/markdown-bundle | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| knplabs/knp-markdown-bundle | 0.87 | — | 412 | 432 | 47 | 20K | 0 | 3.8 | 16.6 | MIT | 4 years ago | |
| fluxbb/commonmark | 0.87 | 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 | 6 | 5 | 1.4 | 3.0 | MIT | — | |
| league/commonmark | 0.86 | Extensible PHP Markdown parser supporting the full CommonMark spec and GitHub-Flavored Markdown. Works with PHP 7.4+ (mbstring) and provides simple converters to turn Markdown into HTML with configurable safety options. | 2,969 | 3,010 | 214 | 11M | 20 | 57.4 | 70.0 | BSD-3-Clause | 1 week ago | |
| thunderer/shortcode | 0.84 | Framework-agnostic PHP library for parsing and processing shortcodes/BBCodes. Extract shortcodes from text, handle replacements, and apply them via processors and events. Includes serializers for Text/XML/JSON/YAML. Supports PHP 5.3–8.x. | 389 | 395 | 32 | 51K | 4 | 29.8 | 36.6 | MIT | 1 month ago | |
| contentful/rich-text | 0.83 | PHP library for parsing and rendering Contentful Rich Text fields. Parses localized rich text JSON into node objects, resolves linked assets/entries via a link resolver, and renders nodes to output with a simple Renderer API. Requires PHP 7.2+ / 8.0+. | 12 | 12 | 10 | 107K | 1 | 13.8 | 57.2 | MIT | 8 months ago | |
| core23/commonmark-formatter-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| html2text/html2text | 0.83 | — | 590 | 612 | 177 | 845K | 15 | 17.3 | 49.6 | — | 1 year ago | |
| league/html-to-markdown | 0.83 | — | 1,898 | 1,909 | 215 | 1M | 14 | 30.0 | 46.4 | MIT | 3 years ago | |
| beeflow/markdown-editor | 0.82 | 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 | — | — | — | |
| andchir/markdown-bundle | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 1.5 | — | MIT | 6 years ago | |
| spatie/commonmark-shiki-highlighter | 0.76 | 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. | 93 | 92 | 15 | 212K | 0 | 12.6 | 49.5 | MIT | 7 months ago | |
| spatie/shiki-php | 0.75 | Use Shiki syntax highlighting from PHP. Highlight code snippets with editor-quality themes and 100+ languages, plus Antlers and Blade. Works great with Laravel via spatie/laravel-markdown and CommonMark through a companion extension. | 311 | 312 | 32 | 2M | 0 | 25.7 | 60.9 | MIT | 2 months ago | |
| pmjones/php-styler | 0.75 | PHP-Styler is a PHP 8.1 code formatter that fully rewrites formatting for consistent spacing, indentation, and line splitting. It preserves code logic and comments, aims for diff-friendly output, and supports customizable styles/rules for structural transformations. | 41 | 41 | 2 | 28 | 0 | 23.4 | 3.5 | MIT | 2 months ago | |
| spatie/sidecar-shiki | 0.74 | Run Shiki syntax highlighting on AWS Lambda via Sidecar from your Laravel app—no Node.js or Shiki dependencies on your server. Install the package, configure Sidecar, register the HighlightFunction, and render highlighted code fast and consistently. | 37 | 37 | 1 | 6 | 0 | 2.3 | 0.9 | MIT | 2 years ago | |
| mmoreram/php-formatter | 0.74 | PHP code formatter with CLI and configurable rules to standardize style across a project. Formats files or entire directories, helps enforce clean, consistent code, and integrates easily into development workflows and CI. | 168 | 169 | 17 | 830 | 2 | 3.0 | 7.8 | MIT | 8 years ago | |
| bookdown/bookdown | 0.74 | Bookdown generates DocBook-like HTML documentation from Markdown and JSON (no XML), ideal for publishing project docs to GitHub Pages. Supports themes/templates, syntax highlighting, and includes tests via PHPUnit. | 82 | 84 | 12 | 2K | 3 | 5.8 | 18.6 | MIT | 7 years ago | |
| consolidation/output-formatters | 0.74 | Flexible output formatting utilities for PHP/Laravel CLI apps. Convert structured data to clean tables, JSON, YAML, and more with consistent styling and easy configuration—ideal for Symfony Console/Drush-style commands needing polished, readable output. | 195 | 200 | 15 | 1M | 6 | 3.0 | 53.2 | NOASSERTION | — |
How can I help you explore Laravel packages today?