vtalbot/markdown
A Laravel package that integrates Markdown parsing into your app, with a Markdown facade and Blade directive for converting Markdown text to HTML. Useful for rendering user content, documentation, and other formatted text with configurable parser options.
vtalbot/markdown is a thin Laravel service provider plus facade wrapper around a Markdown parser; it exposes a single compilation surface and delegates parsing to the underlying library. That is idiomatic for Laravel 4/5 (container binding, facade alias) but has no architectural relevance for Laravel 8+, where package auto-discovery, typed bindings, and actively maintained parsers (league/commonmark, spatie/laravel-markdown) are the norm. The package is a convenience shim, not a platform component — replacing it does not ripple through domain code provided call sites are isolated.Vtalbot\Markdown\MarkdownServiceProvider and alias the Markdown facade. Feasibility is high only on Laravel 4/5 and PHP 5.6–7.x. On modern stacks the composer constraints will conflict with current framework and parser versions, and auto-discovery is unlikely to be declared. Expect either a fork or a pinned legacy environment.Markdown:: called directly across the codebase? (4) Is there custom configuration (parser flavor, HTML allowlist, extensions) that must survive migration?MarkdownRenderer contract, wrap the facade behind it, then swap the implementation to league/commonmark (or spatie/laravel-markdown) without touching call sites. Preserve parser flavor and HTML-sanitization settings explicitly — Markdown dialects are not interchangeable.illuminate/support versions that clash with modern framework majors. Build golden-file rendering fixtures so output equivalence is validated, not assumed.Markdown:: call sites and custom config. (2) Add the internal interface and adapter. (3) Freeze the dependency and pin the lockfile. (4) Build golden-file rendering tests. (5) Replace the implementation in a single PR behind the interface. (6) Remove the package, provider, and alias registration.How can I help you explore Laravel packages today?