Web GUI for XHProf profiling reports.
The stack requires that you have a compose.yml for your PHP application's services (such as nginx, php-fpm, database, redis, etc.).
The stack will publish ports on localhost for NGINX (proxy for XHProf on port 8081) and XHGui (port 8082).
wget https://raw.githubusercontent.com/nedix/xhgui-container/main/stacks/php/compose-xhgui.ymlexport XHGUI_NGINX_PUBLIC_DIRECTORY=publicdocker compose -f compose.yml -f compose-xhgui.yml up -dNavigate to your application on http://127.0.0.1:8081 to create a profiling report.
Run the following command to load the data into XHGui:
docker compose exec xhgui php /var/www/xhgui/external/import.php -f /data/xhprof/xhgui.data.jsonlNavigate to the XHGui web interface on http://127.0.0.1:8082.