PHP Package: spatie/laravel-markdown

A PHP library for Laravel that provides SEO-optimized markdown support for content management systems.

Current Version: 2.7.1
Last Updated: 2025-02-21
PHP Requirement: ^8.1
Dependencies:
league/commonmark
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laravel Markdown is a comprehensive solution for integrating markdown capabilities into Laravel applications, enhancing SEO performance and enabling efficient content management. It offers a range of features tailored to streamline content creation, editing, and publication workflows, ensuring optimal search engine visibility and user engagement. With Laravel Markdown, developers can effortlessly manage markdown content, leverage built-in SEO enhancements, and deliver compelling web experiences.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.7.1

Download Download v2.7.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/laravel-markdown/2.7.1/loader.php';
require_once 'libs/league/commonmark/{lib_version}/loader.php';

use Spatie\LaravelMarkdown\MarkdownParser;
use Spatie\LaravelMarkdown\Markdown;
use League\CommonMark\MarkdownParser;

$obj = new MarkdownParser();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.