yireo / yireo_backendreindexer
Magento 2 module to add reindexing to the Admin Panel
Yireo BackendReindexer
Magento 2 by default has no way to reindex from within the Magento Admin Panel.
This module adds a massaction to reindex from the backend anyway.
!!! WARNING !!!
From a technical point of view, there is a really good reason that Magento 2 offers no way to reindex indexes using the Magento backend: Using the Magento Admin Panel from this task may lead to timeouts, memory issues, and because of this, potential data inconsistancy (corrupt data). Make sure to know what you're doing before using this module.
The advice is to index through the CLI task and/or through cronjob. However, this module might still prove useful to small shops, testing environments with no developer present, etcetera.
Security
- The mass action only accepts POST requests with a valid form key.
- Access requires both the ACL resources
Magento_Indexer::indexandYireo_BackendReindexer::reindex. - Only known indexer IDs are reindexed. At most 5 indexers can be reindexed per request, because every reindex runs synchronously within the web request. Change this limit with the DI argument
maxIndexersPerRequestofYireo\BackendReindexer\Controller\Adminhtml\Indexer\MassReindex. - Errors are logged to
var/log/system.log, while the Admin Panel only shows a generic message.
Installation
Install this module within Magento 2 using composer:
composer require yireo/magento2-backend-reindexer
After this, enable the module as usual:
bin/magento module:enable Yireo_BackendReindexer
bin/magento setup:upgrade
bin/magento cache:clean
Technical architecture
- This module adds a massaction through XML layout.
- It also adds a
Pluginto check for the right ACL rules.
Current status
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[Unreleased]
[1.0.1] - 25 November 2026
Fixed
- Mass reindex action checked a misspelled ACL resource (
Yireo_BackendIndexer::reindex), so the module's own ACL setting had no effect; it now requires bothMagento_Indexer::indexandYireo_BackendReindexer::reindex - ACL resource is now nested under Index Management in the role editor and the grid action is hidden for admins without it
- Mass reindex action only accepts POST requests with a valid form key
- Only known indexer IDs are reindexed, with at most 5 per request (configurable via the DI argument
maxIndexersPerRequest) to avoid long-running web requests - Reindex errors no longer show exception details in the Admin Panel but are logged to
var/log/system.log - Add missing
psr/logcomposer dependency
[1.0.0] - 06 October 2026
Fixed
- Fix type error in PHP 8.4+
[0.0.3] - 29 July 2020
Added
- Magento 2.4 compatibility
[0.0.2] - Undocumented
- Initial changes
[0.0.1] - Undocumented
- Initial release
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.0.1 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2026-11-25 18:45:01 |
| 1.0.0 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2026-10-06 05:35:12 |
| 0.0.4 | stable | Fail | Not compatible Details | 2018-11-29 20:48:20 |
| 0.0.3 | stable | Not tested | Not yet tested Details | 2017-11-09 14:45:24 |
| 0.0.2 | stable | Not tested | Not yet tested Details | 2017-11-09 14:18:30 |
| 0.0.1 | stable | Not tested | Not yet tested Details | 2017-06-03 07:48:34 |
Requires 5
| Package | Constraint |
|---|---|
| magento/framework | ^100.1|^101.0|^102.0|^103.0 |
| magento/module-backend | ^100.1|^101.0|^102.0 |
| magento/module-indexer | ^100.4 |
| php | >=8.2 <8.6 |
| psr/log | ^1 || ^2 || ^3 |
Requires-dev 1
| Package | Constraint |
|---|---|
| yireo/magento2-integration-test-helper | ~0.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from yireo
View vendorReplace bundled third party packages from Magento
N/A
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.