samuelreichor / craft-llmify
Optimize your site for LLMs
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:craft-plugin
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.
- 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.
- 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!