{"id":13720731,"url":"https://github.com/firegento/firegento-debug","last_synced_at":"2025-05-07T13:30:25.894Z","repository":{"id":1372985,"uuid":"1324890","full_name":"firegento/firegento-debug","owner":"firegento","description":"Debugging suite for Magento","archived":false,"fork":false,"pushed_at":"2020-06-28T08:50:12.000Z","size":856,"stargazers_count":99,"open_issues_count":6,"forks_count":26,"subscribers_count":28,"default_branch":"develop","last_synced_at":"2024-08-04T01:13:53.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firegento.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-03T17:12:20.000Z","updated_at":"2023-07-04T04:28:37.000Z","dependencies_parsed_at":"2022-07-14T18:17:51.898Z","dependency_job_id":null,"html_url":"https://github.com/firegento/firegento-debug","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firegento%2Ffiregento-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firegento%2Ffiregento-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firegento%2Ffiregento-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firegento%2Ffiregento-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firegento","download_url":"https://codeload.github.com/firegento/firegento-debug/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224604556,"owners_count":17339162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T01:01:07.435Z","updated_at":"2024-11-14T10:30:31.450Z","avatar_url":"https://github.com/firegento.png","language":"PHP","funding_links":[],"categories":["Extensions"],"sub_categories":["Free"],"readme":"\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\n# FireGento_Debug\n\nThis extension provides some debbuging functionality for Magento.\n\n## Facts\n\n- version: 1.5.0\n- [extension on GitHub](https://github.com/firegento/firegento)\n\n\n## Description\n\nThis extension provides some debugging functionality for Magento.\nThis includes:\n\n- List all installed modules incl. their dependencies in the Magento backend\n- Activate/Deactivate non-core modules via the Magento backend\n- Check all installed modules for rewrite conflicts\n- Show all triggered events/observers\n- Show all log files in the Magento backend in \"terminal-like\" style\n- Show detailed system information in the backend\n- Provide logging interfaces for [ChromePhp](http://www.chromephp.com/), [FirePHP](http://www.firephp.org/) and [Firelogger](http://firelogger.binaryage.com/)\n\n## Installation\nInstall the files using one of the following methods:\n\n### Via modman\n- Install [modman](https://github.com/colinmollenhour/modman)\n- Use the command from your Magento installation folder: `modman clone https://github.com/firegento/firegento-debug.git`\n\n### Via composer\n- Install [composer](http://getcomposer.org/download/)\n- Create a composer.json into your project like the following sample:\n\n```json\n{\n    ...\n    \"require\": {\n        \"firegento/debug\":\"*\"\n    },\n    \"repositories\": [\n\t    {\n            \"type\": \"composer\",\n            \"url\": \"http://packages.firegento.com\"\n        }\n    ],\n    \"extra\":{\n        \"magento-root-dir\": \"./\"\n    }\n}\n\n```\n\n- Then from your composer.json folder: `php composer.phar install` or `composer install`\n\n### Manually\nYou can copy the files from the 'src' folder of this repository to the same folders of your installation\n\nOnce the files are installed:\n\n- Clear the cache, logout from the admin panel and then login again.\n\n A new Menu item named \"**FIREGENTO**\" will appear in the admin area\n \n## Logging functionality\nThis module exposes some logging functionality for use in your own extensions.\n\nYou can:\n\n- log data to a file that you specify in the configuration\n- log data to the browser using either: [ChromePhp](http://www.chromephp.com/), [FirePHP](http://www.firephp.org/) or [Firelogger](http://firelogger.binaryage.com/)\n\nThe extension can be configured under FIREGENTO \u003e Configuration\n\n![image](doc/img/configuration.png)\n\nHere you can change the name of the log file which will be written (by default firegento.log) if you select \"Force Logging\" then the log file will be written to irrespective of the the configuration setting to enable logging \"Developer \u003e Log Settings \u003e Enabled\".\n\n### Usage\n\n#### Log information to file:\n\n```\n$product = Mage::getModel('catalog/product');\nMage::helper('firegento/log')-\u003elog($product-\u003edebug());\n```\nThis statement will take the output of `$product-\u003edebug()` and log it to the configured file.  \n\nThere is also a utilty method available `debug()` you can use this method to log large objects such as sales/quote, sales/order or other objects which are instances of Varien_Object internally the debug() method of this object will be called, and the output logged to using `FireGento_Debug_Helper_Log::log()`\n\n```\n$object = Mage::getModel('sales/order')-\u003eload(XXX);\nMage::helper('firegento/log')-\u003edebug($object);\n```\n\n#### Log information to the browser\nIt is also possible to send the output of the logging to the browser and have it displayed by [ChromePhp](http://www.chromephp.com/), [FirePHP](http://www.firephp.org/) or [Firelogger](http://firelogger.binaryage.com/) in order to do this, you must make sure that you have enabled the appropriate option in the configuration, and then you can simply use one of the following statements:\n\n```\n$product = Mage::getModel('catalog/product');\n\n// log to chromephp\nMage::helper('firegento/log')-\u003echromephp($product-\u003edebug());\n\n// log to firelogger\nMage::helper('firegento/log')-\u003efirelogger($product-\u003edebug());\n\n// log to firephp\nMage::helper('firegento/log')-\u003efirephp($product-\u003edebug());\n```\nYou will then see something like these images in the browser extensions:\n\n![debug view 1](doc/img/debug_browser1.png)\n![debug view 2](doc/img/debug_browser2.png)\n\n\n## Admin Functionality\nThe functionality can be accessed via the \"**FIREGENTO**\" menu item.\n\n![Firegento menu](doc/img/menu_firegento.png \"Firegento menu\")\n\n### Diagnostic \u003e Check Modules\nHere all the installed modules including their dependencies are listed. \n![image](doc/img/diagnostic_checkmodules.png)\n\nYou will see:\n\n- The modules Namespace and name\n- the code pool to which it belongs\n- the current status\n- the path to the extension in the filesystem\n- if the path exists or not\n- if the config.xml exists\n- the version of the extension\n- any dependencies defined for the extension\n\nNon system extensions can be activated/decativated by clicking on the link in the Action column.\n\n### Diagnostic \u003e Check Rewrites\n\nA convenient overview of rewritten classes is displayed here.\nWhen a classpath is overwritten by an extension, you will see the name of the class which overrides it, and the name of the active class for that classpath. In the case of a rewrite conflict the status column displays a red \"not ok\" status. You will see that the Active class differs from the rewrite class.\n \n \n![Non conflicted rewrite](doc/img/rewrite_ok.png \"Non conflicted rewrite\")\nIn the image above the classpath core/email_template is succesfully overwritten.\n\n![Conflicted rewrite](doc/img/rewrite_conflict.png \"Conflicted rewrite\")\nHere there is a rewrite conflict, and the rewrite which is not active is shown with a red \"not ok\" status\n\nthere is a file called firegento.php which you can install in the root of your magento instance, this allows you to check the status of rewrites without installing the whole Firegento_Debug extension.\n\n### Diagnostic \u003e Check Events\nThis allows you to see all events in your system and which observers are listening for them. When more than one observer is bound to the event, then they are listed under each other, in the column \"Location\"\n\n![observers bound to events](doc/img/diagnostic_checkevents.png \"observers bound to events\")\n\n### Diagnostic \u003e Check System\nHere you will see information about the system, which is divided into 5 areas:\n\n- Magento Information\n- PHP Information\n- MySQL Information\n- Server Information\n- System Requirements\n\n![System information](doc/img/diagnostic_checksystem.png \"System information\")\n\n### Diagnostic \u003e phpinfo()\nThe output of the phpinfo() function is displayed here\n\n\n### Logs\nThe log viewer allows you to select a log file to open, you will be able to see in real time in a console like window as entries are written.\n\n![Log file console like viewer](doc/img/logs.png \"Log file console like viewer\")\n\n\n\n## Requirements\n\n- PHP \u003e= 5.3.0\n\n## Compatibility\n\n- Magento \u003e= 1.5\n- Versions below are not actively tested but should work without problems\n\n## Support\n\nIf you have any issues with this extension, open an issue on [GitHub](https://github.com/firegento/firegento-debug/issues).\n\n## Contribution\n\nAny contribution is highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://rouven.io/\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/393419?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRouven Alexander Rieker\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/firegento/firegento-debug/commits?author=therouv\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://www.webguys.de/\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/940631?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTobias Vogt\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/firegento/firegento-debug/commits?author=tobi-pb\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/pixelhed\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/1169770?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAndre Flitsch\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/firegento/firegento-debug/commits?author=pixelhed\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://www.vincent-pietri.fr/\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/8598479?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVincent Pietri\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/firegento/firegento-debug/commits?author=vpietri\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://www.ffuenf.de/\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/50462?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAchim Rosenhagen\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/firegento/firegento-debug/commits?author=arosenhagen\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://vinaikopp.com/\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/72463?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVinai Kopp\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/firegento/firegento-debug/commits?author=Vinai\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://www.flagbit.de/\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/449424?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJörg Weller\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/firegento/firegento-debug/commits?author=hackwell\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/kkrieger85\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/4435523?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKevin Krieger\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/firegento/firegento-debug/commits?author=kkrieger85\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-enable --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n## Developer\n\n- Website: [http://firegento.com](http://firegento.com)\n- Twitter: [@firegento](https://twitter.com/firegento)\n\n## Licence\n\n[GNU General Public License, version 3 (GPLv3)](http://opensource.org/licenses/gpl-3.0)\n\n## Copyright\n\n(c) 2013 - 2020 FireGento","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiregento%2Ffiregento-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiregento%2Ffiregento-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiregento%2Ffiregento-debug/lists"}