Download the PHP package labofgood/module-db-query-log-extended without Composer
On this page you can find all versions of the php package labofgood/module-db-query-log-extended. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package module-db-query-log-extended
Database Query Log Extended magento2 module
Overview
The Labofgood_DbQueryLogExtended
module offers enhanced analysis capabilities for the db.log
generated using Magento's command:
This module enriches the standard command functionalities by introducing:
- Extended information about queries added the record context (request uri or CLI command), record number, UID of process.
- Capability to export the log to an XLSX file format.
- A feature to do a similarity analysis of SQL queries and showcase them in a separate XLSX sheet.
Example of the report:
Example of the similarity analysis report:
Prerequisites
- PHP 8.1 or higher
- Magento 2.4.5
Dependencies
composer.json includes:
Installation Steps
Please follow the instructions:
- Run
composer require --dev labofgood/module-db-query-log-extended
- Run
bin/magento setup:upgrade
Usage Guide
-
To install, please adhere to the following steps:
- Browse the website or initiate a CLI command to populate db.log with queries.
-
Run the following command to transform db.log into a XLSX file
-
For grouping similar queries and showcasing them in a separate XLSX sheet, run the following command:
- When done, deactivate the query log with:
Uninstallation
To uninstall the module, run: bin/magento module:uninstall Labofgood_DbQueryLogExtended
Credits
- Anton Abramchenko [email protected]
Licensing
Copyright © 2023 Anton Abramchenko. All rights reserved.\ This software is under the "3-Clause BSD License" license (see source).
All versions of module-db-query-log-extended with dependencies
magento/framework Version 103.0.*
magento/module-developer Version 100.4.*
shuchkin/simplexlsxgen Version ^1.3