This module adds the dynamic generation of the robot.txt file to a tool and per site

Installs: 1 780

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 8

Forks: 0

Open Issues: 0


v5.1.0 2024-02-13 07:14 UTC


MelisCmsSiteRobot provides a functionality to add robots.txt on each domain.

Getting Started

These instructions will get you a copy of the project up and running on your machine.


The following modules need to be installed to have Melis newsletter module run:

  • Melis engine


Run the composer command:

composer require melisplatform/melis-cms-site-robot


Database model is accessible via the MySQL Workbench file:


Database will be installed through composer and its hooks.
In case of problems, SQL files are located here:


Tools and elements provided

  • Melis CMS site robot tool
  • Melis CMS site robot service

Melis CMS site robot tool

Provides the user the ability to access and manage the Robots.txt of every domain.

Melis CMS site robot service

  • Using the service to retrieve Robots.txt data for each domain:
// Get MelisEngineTableSiteDomain service
$table = $this->getServiceManager()->get('MelisEngineTableSiteDomain');

// Get all data from site domain table
$data = $table->getData($searchValue, $searchableCols, $selColOrder, $orderDirection, $start, $length)->toArray();
// Get MelisEngineTableRobot service
$robotTable = $this->getServiceManager()->get('MelisEngineTableRobot');

//Get robots.txt contents and data for each domain
$robotData  = (array) $robotTable->getEntryByField('robot_site_domain', $domainName)->current();


See also the list of contributors who participated in this project.


This project is licensed under the OSL-3.0 License - see the file for details