werkbot/werkbot-llms-txt

A SilverStripe module that provides a textarea field for llms.txt content.

Maintainers

Package info

github.com/werkbot/silverstripe-module-llms-text

Type:silverstripe-vendormodule

pkg:composer/werkbot/werkbot-llms-txt

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-06-26 18:02 UTC

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.