定制 web-vision/ai-llms-txt 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

web-vision/ai-llms-txt

Composer 安装命令:

composer require web-vision/ai-llms-txt

包简介

TYPO3 extension for generating .well-known/llm.txt links according to llmstxt.org specification

README 文档

README

TYPO3 13 PHP 8.2+ License: GPL v2+

TYPO3 extension for generating llms.txt links according to the llmstxt.org specification to control Large Language Model crawling policies.

Features

  • Automatic llms.txt generation - Creates policy files according to the official specification
  • Site navigation structure - Includes your site's navigation hierarchy in the llms.txt file
  • Configurable metadata - Add topics, contact information, and custom descriptions
  • Markdown export - Convert any TYPO3 page to Markdown format via .md suffix
  • TYPO3 v13 compatibility - Built specifically for TYPO3 v13 using modern PHP practices

What is llms.txt?

llms.txt is an emerging standard for websites to communicate with Large Language Models and AI systems. Similar to robots.txt for web crawlers, llms.txt files provide:

  • Crawling policies - Guidelines for AI systems on how to interact with your content
  • Site structure - Navigation and content organization information
  • Metadata - Topics, contact information, and site descriptions
  • Content access - Direct links to machine-readable content formats

Installation

Composer (Recommended)

composer require web-vision/ai-llms-txt

Quick Start

After installation, the extension works immediately with default settings:

  • llms.txt generation: Visit https://yoursite.com/?type=1699
  • Markdown pages: Visit https://yoursite.com/?type=1701

with Route Enhancer:

  • llms.txt file: Visit https://yoursite.com/.well-known/llms.txt
  • Markdown pages: Add .md to any page URL (e.g., https://yoursite.com/about.md)

Configuration

All settings can be configured in your site configuration.

Route Configuration

To enable user-friendly URLs, include the route enhancers in your site configuration:

# config/sites/main/config.yaml
imports:
  -
    resource: 'EXT:ai_llms_txt/Configuration/Routes/RouterEnhancer.yaml'

This enables:

  • .md suffix for Markdown content
  • llms.txt for direct access to the specification file

Usage Examples

Accessing Generated Content

llms.txt files:

  • https://yoursite.com/?type=1699
  • https://yoursite.com/.well-known/llms.txt - with route enhancer
  • https://yoursite.com/llms.txt - Alternative access (with route enhancer)

Markdown content:

  • https://yoursite.com/?type=1701
  • https://yoursite.com/about.md - Markdown version of your About page
  • https://yoursite.com/services/consulting.md - Markdown version of any page

Requirements

  • TYPO3: 13.0 or higher
  • PHP: 8.2 or higher
  • Dependencies: league/html-to-markdown (automatically installed)

Documentation

Comprehensive documentation is available covering:

Contributing

Contributions are welcome! Please:

  1. Follow TYPO3 coding standards
  2. Include tests for new features
  3. Update documentation for configuration changes
  4. Use dependency injection patterns
  5. Maintain strict typing

License

This extension is licensed under GPL v2+ - see the LICENSE file for details.

Support

  • Documentation: Full documentation in the Documentation/ folder
  • Issues: Report issues via the project issue tracker
  • Community: Join TYPO3 community discussions for general TYPO3 support

Related

统计信息

  • 总下载量: 5.16k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-10-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固