Download the PHP package mage-os/module-llm-txt without Composer

On this page you can find all versions of the php package mage-os/module-llm-txt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-llm-txt

LLMs.txt for Magento 2 / Mage-OS

AI-powered LLMs.txt generation module for Magento 2 and Mage-OS stores. Automatically creates optimized llms.txt files using OpenAI to help AI systems understand your store content.

What is LLMs.txt?

LLMs.txt is a proposed standard (similar to robots.txt) that helps AI systems like ChatGPT, Claude, and others better understand your website by providing a concise, structured summary of your most important content.

Learn more: llmstxt.org

Features

Installation

Configuration

  1. Navigate to: Stores → Configuration → AI → LLMs.txt

  2. General Settings

    • Enable the module
    • Enter your OpenAI API key (get one here)
    • Select AI model (GPT-4o Mini recommended for speed and cost)
  3. AI-Powered Generation

    • Set site name
    • Add site description
    • Specify up to 10 categories that best represent your store
    • Specify up to 10 products that best represent your store
    • Specify up to 10 CMS pages that best represent your store
    • Click "Generate with AI"
  4. Review & Edit

    • AI generates curated content from your store data
    • Review the generated markdown
    • Edit as needed
    • Save configuration
  5. Verify
    • Visit https://yourdomain.com/llms.txt
    • Content is served as plain text

How It Works

When you click "Generate with AI":

  1. Data Collection - Gathers top categories, sample products, and key CMS pages
  2. AI Analysis - Sends data to OpenAI with optimized prompt
  3. Content Generation - AI creates concise, well-structured llms.txt
  4. Review - You can edit the generated content before publishing

Example Output

Manual Override

Don't want to use AI? No problem:

  1. Enable "Use Manual Content" checkbox
  2. Write your own llms.txt in markdown format
  3. Save

Requirements

Cost

OpenAI API usage is minimal:

You only pay when clicking "Generate with AI".

Technical Details

Architecture

Testing

Unit tests included:

Coverage:

License

MIT License - see LICENSE file for details

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with tests
  4. Submit a pull request

Support

Related Resources


All versions of module-llm-txt with dependencies

PHP Build Version
Package Version
Requires magento/framework Version ^103.0
guzzlehttp/guzzle Version ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mage-os/module-llm-txt contains the following files

Loading the files please wait ...