llms-txt-php: A PHP library for writing, reading, and validating llms.txt Markdown files.
SMRTR summary
llms.txt is like robots.txt but for LLMs — a Markdown file that helps AI agents discover and understand your site's content. This PHP library lets you create, parse, validate, and expand llms.txt files, including generating XML or full Markdown context files, handling link discovery via HTTP headers, and inlining LLM instructions directly in HTML.
SMRTR provides this summary for quick context. The original article belongs to Daily.dev.
Read the original article