Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Commonmark Wire Navigate Laravel Package

spatie/commonmark-wire-navigate

CommonMark extension that adds a wire:navigate attribute to links rendered from Markdown, enabling Livewire SPA navigation. Install via Composer and register WireNavigateExtension in your CommonMark environment or spatie/laravel-markdown config.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enabling SPA-like navigation in Livewire apps: Accelerates development of single-page application (SPA) experiences without full frontend frameworks (e.g., React/Vue) by leveraging Laravel Livewire’s wire:navigate for seamless Markdown-based content transitions.
  • Content-heavy applications: Ideal for docs, wikis, or admin panels where Markdown is used for dynamic content (e.g., CMS, knowledge bases) and SPA navigation improves UX without page reloads.
  • Build vs. Buy: Avoids custom engineering for Markdown-to-Livewire integration, reducing dev time and maintenance overhead. Low-risk adoption due to Spatie’s MIT-licensed, battle-tested packages.
  • Roadmap alignment: Supports future-proofing for Livewire’s evolving SPA features (e.g., wire:navigate improvements) without vendor lock-in.

When to Consider This Package

  • Use this when:

    • Your app uses Livewire + Markdown (e.g., league/commonmark) and needs SPA-like navigation for links.
    • You prioritize developer velocity over custom solutions for Markdown parsing.
    • Your team lacks frontend expertise but wants SPA benefits without full-stack JS frameworks.
    • You’re building internal tools (e.g., admin panels, docs) where UX polish matters but budget is constrained.
  • Look elsewhere if:

    • You’re not using Livewire: The package is Livewire-specific.
    • Your Markdown links require complex custom attributes beyond wire:navigate.
    • You need real-time collaboration (e.g., Google Docs-style editing)—consider dedicated tools like TipTap or ProseMirror.
    • Your app is highly dynamic (e.g., social media feeds) where client-side routing (e.g., React Router) is a better fit.

How to Pitch It (Stakeholders)

For Executives: "This package lets us deliver a smoother, app-like experience for our Markdown-based content (e.g., docs, admin panels) without rewriting our backend or adopting heavy frontend frameworks. By integrating wire:navigate into our existing Livewire setup, we can reduce page reloads, improve perceived performance, and cut development time—all while keeping our stack simple and maintainable. It’s a low-risk, high-reward way to modernize UX for content-heavy workflows."

For Engineering: *"Spatie’s commonmark-wire-navigate is a lightweight extension for league/commonmark that automatically adds wire:navigate to Markdown links, enabling Livewire’s SPA navigation. Key benefits:

  • Zero custom parsing: Works out-of-the-box with existing Markdown.
  • Livewire-native: No frontend changes needed—just install and configure.
  • Future-proof: Aligns with Livewire’s roadmap for SPA features.
  • MIT license: Risk-free adoption with Spatie’s track record. Use case: Perfect for docs, wikis, or admin panels where Markdown + SPA navigation would otherwise require significant dev effort. Example: Turn a static docs site into a dynamic, single-page experience with minimal code."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport