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

Laravel Markdown Response Laravel Package

spatie/laravel-markdown-response

Serve clean markdown versions of your Laravel HTML pages for AI agents and bots. Detects requests via Accept: text/markdown, known user agents, or .md URLs. Driver-based conversion (local PHP or Cloudflare Workers AI), caching, and HTML preprocessing included.

View on GitHub
Deep Wiki
Context7

title: Response headers weight: 7

Every markdown response includes a set of headers that help AI agents understand and process the content.

Default headers

These headers are always included:

Header Value Purpose
Content-Type text/markdown; charset=UTF-8 Identifies the response as markdown
Vary Accept Tells caches to store separate entries per Accept header
X-Robots-Tag noindex Prevents search engines from indexing the markdown version
X-Markdown-Tokens e.g. 1234 Estimated token count of the markdown content

The token count is a rough estimate based on the character length of the markdown (characters / 4). It lets AI agents gauge content size from headers before downloading the body.

Content-Signal header

The Content-Signal header communicates to AI agents what they are allowed to do with your content. By default, the package sends:

Content-Signal: ai-train=disallow, ai-input=allow, search=allow

You can customize these signals in the config file:

// config/markdown-response.php

'content_signals' => [
    'ai-train' => 'disallow',
    'ai-input' => 'allow',
    'search' => 'allow',
],

Set the array to empty to disable the header entirely:

'content_signals' => [],
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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope