PHPackages                             johnfmorton/craft-llm-ready - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. johnfmorton/craft-llm-ready

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

johnfmorton/craft-llm-ready
===========================

Serve Markdown versions of your Craft CMS pages to AI crawlers and LLMs via .md URLs, content negotiation, and user-agent detection.

1.3.2(2mo ago)41551[1 issues](https://github.com/johnfmorton/craft-llm-ready/issues)[1 PRs](https://github.com/johnfmorton/craft-llm-ready/pulls)proprietaryPHPPHP &gt;=8.2CI passing

Since Mar 21Pushed 1w agoCompare

[ Source](https://github.com/johnfmorton/craft-llm-ready)[ Packagist](https://packagist.org/packages/johnfmorton/craft-llm-ready)[ RSS](/packages/johnfmorton-craft-llm-ready/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (8)Versions (19)Used By (0)

LLM Ready for Craft CMS
=======================

[](#llm-ready-for-craft-cms)

*LLM Ready* makes your Craft CMS site machine-readable by serving clean Markdown versions of your content to AI crawlers and LLMs. Append `.md` to any entry URL, and LLM Ready converts the page to Markdown with YAML front matter — no extra templates required.

For complete documentation, see the [LLM Ready Documentation](DOCUMENTATION.md) in this repo.

**Using an AI coding assistant?** Point your agent to [AI-INSTALL.md](AI-INSTALL.md) for automated installation and configuration.

Highlights
----------

[](#highlights)

- **Zero configuration required** — works out of the box with no template changes. Install the plugin and your content is immediately available as Markdown.
- **Append `.md` to any entry URL** to get a clean Markdown version using your existing URLs — no separate URL prefix needed.
- **Automatic AI bot detection** — transparently serves Markdown to known AI crawlers (GPTBot, ClaudeBot, PerplexityBot, and others) without any action from the visitor.
- **Three detection methods**: `.md` URL suffix, `Accept: text/markdown` content negotiation, and AI bot user-agent detection.
- **Smart HTML-to-Markdown conversion** extracts main content and strips navigation, footers, scripts, and other non-content elements — no template tags to add.
- Optionally assign dedicated Twig templates per section that output raw Markdown for full control.
- **Real-time rendering** — Markdown is generated on demand and cached, so content is always up to date without queue jobs or batch generation.
- Auto-generates a `/llms.txt` site index following the [llms.txt specification](https://llmstxt.org/).
- **Listing page support** — append `.md` to a section's base URL to get a Markdown index of entries.
- YAML front matter with entry metadata (title, date, author, canonical URL, section).
- Auto-injects `` discovery tags into HTML pages.
- **Project config support** — per-section settings are stored in Craft's project config for version control and multi-environment sync.
- Per-section enable/disable control from the plugin settings page.
- Caches Markdown output with automatic invalidation when entries are saved.
- `X-Robots-Tag: noindex` header prevents search engines from indexing Markdown responses.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 5.5.0 or later, and PHP 8.2 or later.

Installation
------------

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

**Using an AI coding assistant?** See [AI-INSTALL.md](AI-INSTALL.md) for a step-by-step guide your agent can follow to install, verify, and configure the plugin automatically.

### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project's Control Panel and search for "LLM Ready". Then press "Install".

### With Composer

[](#with-composer)

Open your terminal and run the following commands:

```
# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require johnfmorton/craft-llm-ready

# tell Craft to install the plugin
./craft plugin/install llm-ready
```

###  Health Score

45

↑

FairBetter than 91% of packages

Maintenance87

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

10

Last Release

81d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/119723?v=4)[John F Morton](/maintainers/johnfmorton)[@johnfmorton](https://github.com/johnfmorton)

---

Top Contributors

[![johnfmorton](https://avatars.githubusercontent.com/u/119723?v=4)](https://github.com/johnfmorton "johnfmorton (48 commits)")[![claude](https://avatars.githubusercontent.com/u/81847?v=4)](https://github.com/claude "claude (6 commits)")

---

Tags

ai-toolscraftcmscraftcms-pluginseo-optimization

### Embed Badge

![Health badge](/badges/johnfmorton-craft-llm-ready/health.svg)

```
[![Health](https://phpackages.com/badges/johnfmorton-craft-llm-ready/health.svg)](https://phpackages.com/packages/johnfmorton-craft-llm-ready)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k57](/packages/verbb-formie)[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

393808.8k10](/packages/spicyweb-craft-neo)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

292943.4k27](/packages/craftcms-feed-me)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k15](/packages/solspace-craft-freeform)[verbb/workflow

Enforce multi-step review processes for creating entries.

138123.0k1](/packages/verbb-workflow)[verbb/vizy

A flexible visual editor field for Craft.

4249.7k](/packages/verbb-vizy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
