Panth Indexer Manager
Adds Reindex and View buttons to every row of Magento 2 Index Management, Reindex Selected, All and Invalid at the top, and a one-click Mode switch. Once you enable tracking, every indexer run is logged with its duration.
- Free
composer require mage2kishan/module-indexer-manager
- Package requirementsRead the source documentation
- Developer profileView Upwork profile
- Themes listedCheck the selected release
- PHP versions listedCheck the selected release
- Installation questionsDiscuss your store setup
What it does for your store
The main features, as listed in the module documentation.
-
Reindex from the grid
Reindex and View buttons on every row of System > Index Management, so a reindex needs no shell access.
-
Three mass actions
Reindex Selected, Reindex All and Reindex Invalid in the grid toolbar, plus a Reindex now option in the Actions menu.
-
Mode toggle
Click a Mode cell to switch that indexer between Update by Schedule and Update on Save.
-
Details and live status
Status, schedule state with changelog backlog, last update and the 10 latest runs, refreshed every 5 seconds by default.
-
Run log
Indexer, operation, context, status, duration, admin user and error message for admin, CLI, cron and API runs, with filters.
-
Queue and alerts
An optional queue strategy on the database connection and an optional email when a tracked run fails.
Installation
Example commands from the Magento root. Follow the package instructions and your staging and deployment process.
- 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
- 2Install on stagingReview Composer changes and follow the package instructions.
- 3Configure and verifyUse the documented settings and test the affected features.
$ composer require mage2kishan/module-indexer-manager $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy -f $ bin/magento cache:clean
Listed requirements
These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.
| Composer package | mage2kishan/module-indexer-manager |
|---|
Documentation
Product details and setup guidance. Check the package repository for release-specific instructions.
Reindex controls in Index Management
Panth Indexer Manager adds reindex buttons, a mode toggle, live status and a run history to the native Index Management grid in the Magento 2 admin. Store operators can reindex without shell access, and developers get a record of indexer runs from every source.
In the grid
- Reindex and View buttons on every row.
- Reindex Selected, Reindex All and Reindex Invalid buttons in the mass action toolbar, and Reindex now (Panth) in the native Actions menu.
- Click a Mode cell, or Tab to it and press Enter or Space, to switch between Update by Schedule and Update on Save.
- Live polling refreshes status, mode and the last tracked run every 5 seconds by default (2 to 3600 seconds).
- The details view shows status, schedule state with the changelog backlog (counted up to 10,000), the last update and the 10 latest tracked runs.
- A second reindex of the same indexer is refused while it is running.
Run log
A plugin on the Magento indexer records every reindexAll, reindexRow and reindexList call, whether it comes from the admin, the CLI, cron or the web API, with start time, duration, status, admin user and error message. Errors are rethrown, so Magento behaves as before. The Run Log page has search, filters and sorting. A daily cron job deletes rows older than 30 days by default, and you can keep failed runs only.
Tracking is off after install: set Enable Indexer Manager to Yes. The grid buttons work either way.
Queue and email
- Standard runs the reindex inside the admin request. Queue publishes the indexer id to a message queue on the database connection, so no AMQP broker is needed; run the consumer panth.indexer_manager.reindex.
- An optional email is sent when a tracked run fails, to one or more addresses.
Permissions and themes
Three ACL resources (Manage Indexers, Run Log, Configuration) control who can reindex, read the log or change settings. The module is admin only and ships no storefront files, so it works with any theme, including Hyvä and Luma.
Requirements
- Magento Open Source or Adobe Commerce 2.4.4 to 2.4.8.
- PHP 8.1, 8.2, 8.3 or 8.4.
- mage2kishan/module-core, installed by Composer.
- Magento cron for log cleanup; a running consumer for the queue strategy.
Free and open source under the MIT License.
Developer notes
- Module:
Panth_IndexerManager. PHP namespace:Panth\IndexerManager. Admin route front name:panth_indexer_manager. The module also registers on theindexeradmin route, beforeMagento_Indexer, forindexer/indexer/massPanthReindex. - Run tracking:
Plugin\IndexerTrackingPluginwrapsreindexAll,reindexRowandreindexListonMagento\Indexer\Model\Indexer(plugin namepanth_indexer_manager_track_runs, sort order 100). - Start a reindex from code with
Model\Queue\ReindexDispatcher.dispatch()validates the indexer id, then runs synchronously or publishes to the queue.reindexNow()runsreindexAllunder a per-indexer lock and returns false when the indexer is already running. - Queue: topic, queue and consumer
panth.indexer_manager.reindex, exchangemagento-db, connectiondb. The message is the indexer id as a string. - ACL resources:
Panth_IndexerManager::manage,Panth_IndexerManager::logandPanth_IndexerManager::config, underPanth_IndexerManager::indexer_manager. - Table
panth_indexer_manager_run_log:operationisreindexAll,reindexRoworreindexList;contextisadmin,cli,cron,apiorunknown;statusisrunning,successorerror.started_atandfinished_atare stored in UTC.
Questions before you install?
Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.