{"id":20329327,"url":"https://github.com/ddev/ddev-xhgui","last_synced_at":"2025-04-11T20:41:50.640Z","repository":{"id":182450688,"uuid":"620681072","full_name":"ddev/ddev-xhgui","owner":"ddev","description":"XHGui web interface for XHProf profiling","archived":false,"fork":false,"pushed_at":"2025-03-31T11:21:22.000Z","size":108,"stargazers_count":16,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-06T02:25:30.155Z","etag":null,"topics":["ddev-get"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ddev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ddev"],"custom":["https://www.paypal.com/donate/?hosted_button_id=MCNCSZHC7LHSQ","https://ddev.com/support-ddev/"]}},"created_at":"2023-03-29T06:56:48.000Z","updated_at":"2025-03-31T11:20:21.000Z","dependencies_parsed_at":"2024-11-14T20:10:17.812Z","dependency_job_id":"33cb4c31-9538-43cd-bf9e-4b338517f209","html_url":"https://github.com/ddev/ddev-xhgui","commit_stats":null,"previous_names":["tyler36/ddev-xhgui","ddev/ddev-xhgui"],"tags_count":12,"template":false,"template_full_name":"ddev/ddev-addon-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Fddev-xhgui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Fddev-xhgui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Fddev-xhgui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Fddev-xhgui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddev","download_url":"https://codeload.github.com/ddev/ddev-xhgui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248478950,"owners_count":21110791,"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":["ddev-get"],"created_at":"2024-11-14T20:10:11.860Z","updated_at":"2025-04-11T20:41:50.630Z","avatar_url":"https://github.com/ddev.png","language":"Shell","funding_links":["https://github.com/sponsors/ddev","https://www.paypal.com/donate/?hosted_button_id=MCNCSZHC7LHSQ","https://ddev.com/support-ddev/"],"categories":[],"sub_categories":[],"readme":"[![tests](https://github.com/ddev/ddev-xhgui/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/ddev/ddev-xhgui/actions/workflows/tests.yml?query=branch%3Amain)\n[![project is obsolete](https://img.shields.io/badge/maintenance-obsolete-red.svg)](https://github.com/ddev/ddev-xhgui/commits)\n[![release](https://img.shields.io/github/v/release/ddev/ddev-xhgui)](https://github.com/ddev/ddev-xhgui/releases/latest)\n\n# DDEV XHGui (obsolete and archived)\n\nThis add-on is a part of DDEV since [v1.24.4](https://github.com/ddev/ddev/releases/tag/v1.24.4). Use the regular `ddev xhgui` feature to use it, see [docs](https://ddev.readthedocs.io/en/stable/users/debugging-profiling/xhprof-profiling/#simplest-xhprof-usage-with-xhgui) and [XHGui Feature Makes Profiling Even Easier](https://ddev.com/blog/xhgui-feature).\n\nThis add-on is archived.\n\n## Overview\n\n[XHGui](https://github.com/perftools/xhgui) is a graphical interface for XHProf profiling data that stores its results the database.\n\nThis add-on integrates XHGui into your [DDEV](https://ddev.com/) project.\n\nSee \u003chttps://performance.wikimedia.org/xhgui/\u003e for an demonstration of XHGui data collection.\n\n## Warning\n\nThis addon is for debugging in a development environment.\nProfiling in a production environment is not recommended.\n\n## Installation\n\n```sh\nddev add-on get ddev/ddev-xhgui\nddev restart\n```\n\nAfter installation, make sure to commit the `.ddev` directory to version control.\n\n## Usage\n\nWhen you want to start profiling, `ddev xhprof on`.\n\nThe web profiling UI is at `https://yourproject.ddev.site:8143` or use `ddev xhgui` to launch it.\n\nFor detailed information about a single request, click on the \"Method\" keyword on the \"Recent runs\" dashboard.\n\n![Click GET method](./images/xhgui-get.png)\n\nTo check the xhgui service's logs:\n\n```sh\nddev logs -s xhgui\n```\n\n## Advanced Customization\n\nTo configure XHGui, add `.ddev/xhgui/xhgui.config.php`.\n\nFor example, to set xhgui to use `Asia/Tokyo` timezone for dates:\n\n- Remove `#ddev-generated` from `.ddev/xhgui/xhgui.config.php`\n- Change the timezone value\n\n  ```php\n  'timezone' =\u003e 'Asia/Tokyo',\n  'date.format' =\u003e 'Y-m-d H:i:s',\n  ```\n\n## Credits\n\n**Contributed and maintained by [@tyler36](https://github.com/tyler36) based on the original [ddev-contrib PR](https://github.com/ddev/ddev-contrib/pull/128) by [@penyaskito](https://github.com/penyaskito)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddev%2Fddev-xhgui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddev%2Fddev-xhgui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddev%2Fddev-xhgui/lists"}