Laradocs is a Laravel package that turns markdown files stored alongside your code into a fully rendered documentation site at /docs. Key features include folder-based navigation, YAML front-matter metadata for routing and ordering, CommonMark-powered markdown rendering with GitHub-flavored extensions, reusable variables and macros via a service provider, smart file-change-aware caching, and automatic SEO meta tags with sitemap generation. It supports PHP 8.2+ and Laravel 11–13.

3m read timeFrom laravel-news.com
Post cover image
Table of contents
# Folder Structure Becomes Navigation# Front-Matter Metadata# Variables and Macros for Reuse# SEO, Caching, and Output
252.9K Impressions8 Comments