Download the PHP package bcmarketplace/module-llms-feeder without Composer

On this page you can find all versions of the php package bcmarketplace/module-llms-feeder. 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-llms-feeder

LLMsFeeder for Magento 2

A Magento 2 module that automatically collects store content (Products, Categories, CMS Pages, and Company information) and transforms it into a structured markdown format suitable for Large Language Models (LLMs) training and analysis.

๐Ÿ“‹ Table of Contents

๐ŸŽฏ Overview

The LLMsFeeder module automatically generates comprehensive LLMs content files for your selected store. The module creates a single file and includes a custom router that serves the content directly. This is ideal for:

The module intelligently collects data from your selected store, processes it through configurable filters, and generates a clean, well-formatted markdown file.

โœจ Features

Core Functionality

Content Processing

Performance & Reliability

๐Ÿ”ง Requirements

System Requirements

Dependencies

๐Ÿ“ฆ Installation

Method 1: Composer Installation (Recommended)

Method 2: Manual Installation

  1. Download the module to your Magento installation:

  2. Enable the module:

  3. Run Magento setup:

โš™๏ธ Configuration

Admin Configuration

Navigate to Stores > Configuration > BC Marketplace > LLMs Feeder to configure the module:

General Settings

Generation Settings

Store Selection Feature

The module includes a Store Selection configuration that allows you to specify which store's content should be used for LLMs generation:

Key Features

How It Works

  1. Configuration: Select your desired store from the "Store for LLMs Generation" dropdown
  2. Generation: When you generate LLMs content, only the selected store's data is processed
  3. File Creation: A single llms.txt file is created
  4. Access: Access the content via https://yourdomain.com/llms.txt (serves the selected store's content)

Benefits

Sitemap Integration

The module automatically detects if a sitemap exists at <base_url>/sitemap.xml. When a sitemap is present:

๐Ÿš€ Usage

Manual Generation

Generate the LLMs file manually using the console command:

Automatic Generation

The module automatically generates the file based on your configured schedule. The cron job is automatically managed and updated when you change the frequency or time settings.

๐ŸŽฏ Content Generation

The module generates LLMs content for your selected store using a simple and efficient process.

Admin Interface Generation

When using the "Generate Now" button in the admin interface:

  1. Location: Navigate to: Stores > Configuration > BC Marketplace > LLMs Feeder
  2. Action: Click "Generate Now" button
  3. Result: Generates LLMs content for the selected store only

Console Command Generation

The console command provides simple generation:

Generation Process

The module uses the following logic to determine which store to process:

  1. Store Selection Config: Uses the store selected in the configuration
  2. Fallback: If no store is selected, uses the default store

Benefits of Single Store Generation

File Locations

The module generates files in the following locations:

Store-Specific Content Files

LLMs Renderer File

Accessing LLMs Content

You can access LLMs content via your web server at:

The renderer will automatically serve the appropriate store-specific content based on the request context. See Custom Router Implementation for details.

๐Ÿ“„ File Output

The module generates two types of files:

1. Store-Specific LLMs Files

Store-specific content is saved to:

For example:

2. LLMs Renderer File

A PHP renderer file is installed at:

This file automatically serves the appropriate store-specific content based on the request context.

Content Structure

Each store-specific llms.txt file follows this exact structure:

Content Rules

Access Methods

Once configured, you can access LLMs content through various methods:

1. Default Store Access

2. Store-Specific Access via Subdomain

3. Store-Specific Access via Custom Header

Security Considerations

๐ŸŒ Multi-Store Support (Not supported in Community Edition)

The module fully supports multi-store Magento installations with advanced scope-based generation capabilities:

Store-Specific Processing

Configuration

Scope-Based Generation Features

Admin Interface

Console Commands

File Status Display

The module provides file status checking for the selected store:

File Status

โฐ Cron Jobs

Automatic Management

The module automatically manages cron job configuration:

Manual Cron Setup

If you prefer manual cron management, add this to your crontab:

๐Ÿš€ Custom Router Implementation

The module includes a custom router system that eliminates the need for web server configuration (Apache/Nginx) while serving the selected store's content.

How It Works

  1. Request Interception: The custom router intercepts all requests to /llms.txt
  2. Content Serving: Serves the content from the selected store configuration
  3. Direct Access: Provides direct access to the selected store's LLMs content
  4. Automatic Fallback: Falls back to default store if selected store doesn't exist

Benefits

Access Methods

Once configured, access LLMs content through:

๐Ÿ—๏ธ Technical Architecture

Core Components

Models

Configuration

Data Flow

  1. Configuration Check: Verifies module is enabled
  2. Store Selection: Determines target store based on:
    • Store Selection Config: Uses the selected store (default scope only)
    • Fallback: Uses default store if no store is selected
  3. Store Processing: Processes the selected store only
  4. Data Collection: Gathers products, categories, CMS pages, and company data for the selected store
  5. Content Processing: Sanitizes and formats content based on configured content types
  6. Markdown Generation: Transforms data into structured markdown with LLM instructions
  7. File Writing: Saves content to pub/llms.txt with proper locking

Caching Strategy

Centralized Constants

The module uses centralized constants to avoid hardcoded filenames:

๐Ÿงช Testing

Test Coverage

The module includes comprehensive test coverage for:

๐Ÿ” Troubleshooting

Common Issues

File Not Generated

  1. Check Module Status: Verify the module is enabled in admin
  2. Check Permissions: Ensure pub/ directory is writable
  3. Check Logs: Review Magento logs for error messages
  4. Manual Generation: Try running bin/magento llms:generate manually

Cron Job Not Running

  1. Check Cron Status: Verify Magento cron is running
  2. Check Configuration: Review frequency and time settings
  3. Clear Cache: Run bin/magento cache:clean
  4. Check Logs: Review cron logs for errors

Empty or Incomplete Content

  1. Check Store Status: Ensure the selected store is active and enabled
  2. Check Product Visibility: Verify products are visible in catalog
  3. Check Category Status: Ensure categories are active
  4. Check CMS Pages: Verify CMS pages are active and accessible
  5. Check Module Settings: Verify the module is enabled and store is selected

File Status Not Showing Correctly

  1. Check Store Selection: Verify a store is selected in the configuration
  2. Check File Permissions: Ensure the web server can read the generated files
  3. Clear Cache: Run bin/magento cache:clean
  4. Check File Location: Verify the file exists at pub/llms.txt

Log Files

Check these log files for debugging information:

๐Ÿ“š Documentation

User Manual

A comprehensive user manual for administrators is available at:

The user manual covers:

Technical Documentation

For developers and technical users, this README provides:

๐Ÿค Contributing

Code Standards

๐Ÿ“ Changelog

Version 1.0.0 (February 2026)

โœจ New Features

๐Ÿ”ง Improvements

๐Ÿงช Testing

๐Ÿ“š Documentation

๐Ÿ“„ License

This module is licensed under the Open Software License v. 3.0 (OSL-3.0).

๐Ÿ“ž Support

For support and questions:


Developed by Raphael Baako - Empowering businesses with innovative Magento solutions.


All versions of module-llms-feeder with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1||~8.2||~8.3
magento/framework Version ^103.0.4
magento/module-config Version ^101.2.0
magento/module-store Version ^101.1.0
magento/module-backend Version ^102.0.0
magento/module-cron Version ^100.4.0
magento/module-cms Version ^104.0.0
magento/module-catalog Version ^104.0.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 bcmarketplace/module-llms-feeder contains the following files

Loading the files please wait ...