samuelreichor / craft-llmify
Optimize your site for LLMs
Package info
github.com/samuelreichor/craft-llmify
Type:craft-plugin
pkg:composer/samuelreichor/craft-llmify
1.3.0
2026-03-04 13:54 UTC
Requires
- php: >=8.2
- amphp/http-client: ^5.3
- craftcms/cms: ^5.0.0
- league/html-to-markdown: ^5.1
- paquettg/php-html-parser: ^2.2
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
README
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.
Features
- Automatic Markdown Output: Creates clean Markdown versions of your Twig templates.
- Auto-Serve Markdown: Serve markdown instead of HTML based on the Accept: text/markdown header.
- LLM-Ready Text Files: Generates
llms.txt(summary) andllms-full.txt(full content). - Twig Tags for Control: Use
{% llmify %}to include or{% excludellmify %}to exclude HTML from the output. - Exclude Tags with Classes: Define classes that should be excluded from the HTML output.
- Flexible Configuration: Site-wide, section, and entry-level settings.
- Craft Commerce Support: Out of the box support for commerce products.
- YAML Front Matter: Add configurable metadata to your Markdown.
- Easy Refresh Options: Automatic background jobs, manual updates in the CP, or console commands for deployments.
Requirements
This plugin requires Craft CMS 5.0.0 or later, and PHP 8.2 or later.
Documentation
Visit the Craft LLMify documentation for all documentation, guides and developer resources.
Support
If you encounter bugs or have feature requests, please submit an issue. Your feedback helps improve the library!