🚀 We just released spatie/laravel-markdown-response

Add .md to any URL on your Laravel app and get clean markdown instead of HTML.

AI agents get this automatically when they visit your pages.

With the package installed, all you to do in your Laravel app is to add this middleware.

We already use this on https://spatie.be. Try it yourself: add .md to any docs page and see what you get.

https://spatie.be/docs/laravel-markdown-response/v1/basic-usage/serve-markdown-to-ai-agents.md

Websites & web applications in Laravel

Spatie is a digital allrounder: we design solid websites & web applications using Laravel & Vue. No frills, just proven expertise. From Antwerp, Belgium

GitHub - spatie/laravel-markdown-response: Serve markdown versions of your HTML pages to AI agents and bots

Serve markdown versions of your HTML pages to AI agents and bots - spatie/laravel-markdown-response

GitHub