spatie/laravel-markdown-response
Serve markdown versions of your Laravel HTML pages for AI agents and bots. Detect markdown requests via Accept: text/markdown, known user agents, or .md URLs. Driver-based conversion (local PHP or Cloudflare Workers AI), with caching and HTML preprocessing.
This package requires PHP 8.4+ and Laravel 11 or 12.
The default league driver has no additional requirements. It ships as a hard dependency and works out of the box.
The cloudflare driver requires an internet connection and valid API credentials.
How can I help you explore Laravel packages today?