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. johnfmorton/craft-llm-ready

ActiveCraft-plugin

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.1.1(1mo ago)02↓100%proprietaryPHPPHP &gt;=8.2

Since Mar 21Pushed 1mo 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 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)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

39

—

LowBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

4

Last Release

47d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a358df4a8be015f25754a678f02a7cb4828e3deefddcc4f13e4e6c783a31946?d=identicon)[johnfmorton](/maintainers/johnfmorton)

---

Top Contributors

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

### 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.

101372.9k40](/packages/verbb-formie)[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

395798.1k10](/packages/spicyweb-craft-neo)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[putyourlightson/craft-blitz

Intelligent static page caching for creating lightning-fast sites.

153471.5k29](/packages/putyourlightson-craft-blitz)[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[craftcms/apple-news

Publish Craft CMS entries to Apple News

4223.5k](/packages/craftcms-apple-news)

PHPackages © 2026

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