werkbot / werkbot-llms-txt
A SilverStripe module that provides a textarea field for llms.txt content.
Package info
github.com/werkbot/silverstripe-module-llms-text
Type:silverstripe-vendormodule
pkg:composer/werkbot/werkbot-llms-txt
1.0.0
2026-06-26 18:02 UTC
Requires (Dev)
- code-lts/doctum: ^5.5
- erusev/parsedown: ^1.8
- phpunit/phpunit: ^9.5
- werkbot/werkbot-seeder: ^4
This package is auto-updated.
Last update: 2026-06-26 18:05:04 UTC
README
A SilverStripe module that provides a textarea field for llms.txt content.
Installation
composer require werkbot/werkbot-llms-txt
Setup
- You will need to run
/dev/build
Usage
- There should now be a textarea field in the site's setting for the llms.txt content.
- /llms.txt will return this content.
- Optionally add links to the
<head>.
<link rel="llms" type="text/plain" href="$BaseHref/llms.txt">
<link rel="llms-full" type="text/plain" href="$BaseHref/llms-full.txt">
Testing
./vendor/bin/phpunit vendor/werkbot/werkbot-llms-txt
Documentation
Generate documentation using Doctum:
./vendor/bin/doctum.php update doctum.config.php
View the api documentation:
start doctum_build/index.html
Example Sources
The seeder content and testing fixture come from https://github.com/henu-wang/llms-txt-examples/blob/main/examples/local-business.txt.