Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Stack Reporter

21 sites No security coverage
View on drupal.org

This module provides a secure API endpoint to report your website's technology stack, including Drupal, PHP, and Node.js versions. It is easily configurable through the Drupal admin interface and protected by a secure API key.

Stack Reporter is a Drupal module that exposes a secure API endpoint to report your site's technology stack information.

Features

  • Secure API endpoint protected by configurable API key
  • Reports Drupal, PHP, and Node.js versions
  • Easy configuration through Drupal's admin interface

Installation

  1. Download and install the module using Composer:

    composer require drupal/stack_reporter
    
  2. Enable the module via Drush:

    drush en stack_reporter
    

    Or through the Drupal admin interface at /admin/modules.

Configuration

  1. Navigate to /admin/config/system/stack-reporter
  2. Enter your API key and other site information
  3. Select the frameworks and libraries used in your site
  4. Save the configuration

Usage

API Endpoint

The module exposes an API endpoint at:

/api/v1/stack-reporter

Authentication

Access requires an API key that can be provided in either:

  1. Query parameter: ?apikey=your_api_key
  2. JSON request body: {"apikey": "your_api_key"}

Sample Response

{
  "drupal_version": "10.1.2",
  "php_version": "8.2.7",
  "node_version": "18.16.0",
}

Requirements

  • Drupal 9.4 or higher
  • PHP 8.0 or higher

Troubleshooting

API Key Authentication Issues

If you're having trouble authenticating:

  • Verify the API key in the module configuration
  • Check that you're using the correct parameter name (apikey)
  • Try both request methods (query parameter and JSON body)

Node.js Version Detection

Node.js detection requires:

  • The exec() function to be enabled in PHP
  • Node.js to be installed and accessible in the server environment

Maintainer

Justin Neel

License

This project is licensed under the GPL v2 or later.

Activity

Total releases
4
First release
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 4
Maintenance
Dormant

Release Timeline

Releases

Version Type Release date
1.0.2 Stable May 21, 2025
1.0.1 Stable May 20, 2025
1.0.0 Stable May 19, 2025
1.0.x-dev Dev May 16, 2025