PHPackages                             samuelreichor/craft-llmify - 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. samuelreichor/craft-llmify

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

samuelreichor/craft-llmify
==========================

Optimize your site for LLMs

1.6.0(1mo ago)1132proprietaryPHPPHP &gt;=8.2CI passing

Since Aug 17Pushed 4d ago1 watchersCompare

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

READMEChangelog (10)Dependencies (12)Versions (21)Used By (0)

 [ ![Craft LLMify](https://camo.githubusercontent.com/01b92192dc1eb48a08971498d49801e5d769d954a9c0914a78fc08f9ceb8d720/68747470733a2f2f6f6e6c696e652d696d616765732d73722e6e65746c6966792e6170702f6173736574732f63726166742d6c6c6d6966792e706e67) ](https://packagist.org/packages/samuelreichor/craft-llmify)
Supercharge Your Craft CMS Content for AI
=========================================

[](#supercharge-your-craft-cms-content-for-ai)

 LLMify makes your Craft CMS content instantly AI-ready. It transforms your templates into clean, structured outputs, giving you full control over what's included.

 [ ![](https://camo.githubusercontent.com/decd369af3311a230379cb8f4449314b45b1f8729284c57a1bdbea6313297e54/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616d75656c72656963686f722f63726166742d6c6c6d6966793f6c6162656c3d76657273696f6e26636f6c6f723d626c7565) ](https://packagist.org/packages/samuelreichor/craft-llmify) [ ![](https://camo.githubusercontent.com/6fcb66bc66e4ef5a5017ce3d18e165578b6e6b17d53d7025c1921311e6e16b86/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616d75656c72656963686f722f63726166742d6c6c6d6966793f636f6c6f723d626c7565) ](https://packagist.org/packages/samuelreichor/craft-llmify) [ ![](https://camo.githubusercontent.com/3b506857ab78940fbf3a57e07597a1027b81512c26ed37fa492d9500b596e867/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73616d75656c72656963686f722f63726166742d6c6c6d6966793f636f6c6f723d626c7565) ](https://packagist.org/packages/samuelreichor/craft-llmify) [ ![](https://camo.githubusercontent.com/3fbefba2bd10c5ab10757afd1fa14ee1a83b1871d5183fda49b619090793021e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73616d75656c72656963686f722f63726166742d6c6c6d6966793f636f6c6f723d626c7565) ](https://packagist.org/packages/samuelreichor/craft-llmify)

Why LLMify?
-----------

[](#why-llmify)

AI models like ChatGPT struggle to read websites built for people. They see a wall of code, menus, ads, and sidebars. This "noise" makes it hard for them to find the real story - your valuable story. LLMify solves this by converting your Twig templates into clean, structured Markdown.

LLMify is built for production-scale AI content delivery. Instead of converting HTML to Markdown on every request, LLMify does the work upfront. Your Markdown is stored and ready before any bot shows up. Combined with Craft Commerce compatibility, granular control over your Markdowns and user permissions, LLMify gives you everything you need to make your entire site AI-ready.

Features
--------

[](#features)

### Content Generation

[](#content-generation)

- **Pre-Generated Markdown**: Async batch processing with [amphp](https://amphp.org/) stores Markdown in a dedicated database table for instant delivery at any scale.
- **On-Demand Fallback**: Automatically generates Markdown on first request if not yet pre-generated.
- **Template-Level Control**: Use `{% llmify %}` and `{% excludellmify %}` Twig tags for precise control over what content is included in your Markdown output.
- **CSS Class Exclusion**: Define classes to exclude entire sections from the HTML-to-Markdown conversion.
- **YAML Front Matter**: Configurable metadata with hierarchical inheritance (Site &gt; Section &gt; Entry).
- **Console Commands**: `llmify/markdown/generate` and `llmify/markdown/clear` for CI/CD and deployment workflows.

### AI Content Delivery

[](#ai-content-delivery)

- **Auto-Serve Markdown**: Content negotiation via `Accept: text/markdown` header.
- **AI Crawler Detection**: Automatically serve Markdown to known AI bots (GPTBot, ClaudeBot, ChatGPT-User, and more).
- **LLM-Ready Text Files**: Generates `llms.txt`, `llms-full.txt`, and `/.well-known/llms.txt`.
- **Discovery Tag**: Injects `` into your HTML head.
- **Industry Standard Response Headers**: Sets `Vary: Accept` (+ `User-Agent` for auto-serve), `X-Robots-Tag: noindex, nofollow`, and `Link: rel="canonical"` on all Markdown responses.

### Content Management

[](#content-management)

- **Hierarchical Settings**: Site-wide, section, and entry-level configuration with inheritance.
- **Per-Entry Control**: Include or exclude individual entries via the LLMify Settings Field.
- **Permission System**: Granular user permissions for everything.
- **Preview Targets**: Preview Markdown output directly from the entry editor.
- **Dashboard**: Site setup scores and section-level content statistics at a glance.

### Integrations

[](#integrations)

- **SEOmatic Integration**: Automatically populate front matter from SEOmatic fields.
- **Craft Commerce Support**: Full support for Commerce Products alongside Entries.

### Headless

[](#headless)

- **Headless Mode**: For sites where Craft does not render the front end (e.g. a separate Nuxt/Next/Astro app). Instead of relying on Twig rendering, LLMify fetches your front-end URLs (the site's Base URL) and converts the returned HTML to Markdown. Sections excluded from output are controlled via the configured exclude classes.
- **Content API**: Pull the generated files cross-domain so your front end can re-serve them under its own domain:
    - `GET /actions/llmify/api/llms-txt?site=`
    - `GET /actions/llmify/api/llms-full-txt?site=`
    - `GET /actions/llmify/api/page?uri=&site=` — a single page's stored Markdown, including front matter.
- **On-Demand Convert**: `POST /actions/llmify/api/convert` with `{ "url": "" }` returns the Markdown for a single page, converted live. The URL must resolve to one of your configured site Base URL hosts.

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

[](#requirements)

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

Documentation
-------------

[](#documentation)

Visit the [LLMify documentation](https://samuelreichor.at/libraries/craft-llmify) for all documentation, guides, and developer resources.

Support
-------

[](#support)

If you encounter bugs or have feature requests, [please submit an issue](/../../issues/new). Your feedback helps improve the plugin!

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance96

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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 ~18 days

Recently: every ~12 days

Total

16

Last Release

41d ago

Major Versions

0.0.1.5 → 1.0.02025-08-20

0.1.1 → 1.4.02026-04-12

PHP version history (2 changes)0.0.1.1PHP &gt;=8.2

0.1.0PHP &gt;=8.0.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/b36141c4230d3511414d6ffbce3e0ae3f80a5579b0c6d513c082be76dda8baaf?d=identicon)[samuelreichor](/maintainers/samuelreichor)

---

Top Contributors

[![samuelreichor](https://avatars.githubusercontent.com/u/98765339?v=4)](https://github.com/samuelreichor "samuelreichor (128 commits)")

---

Tags

craftcmscraftcms-plugin

### Embed Badge

![Health badge](/badges/samuelreichor-craft-llmify/health.svg)

```
[![Health](https://phpackages.com/badges/samuelreichor-craft-llmify/health.svg)](https://phpackages.com/packages/samuelreichor-craft-llmify)
```

###  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.5k16](/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)
