{"id":15589582,"url":"https://github.com/sokil/php-debug-utils","last_synced_at":"2025-03-29T09:42:20.194Z","repository":{"id":57055124,"uuid":"221304152","full_name":"sokil/php-debug-utils","owner":"sokil","description":"Debug utils for PHP","archived":false,"fork":false,"pushed_at":"2019-11-12T21:20:14.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-04T00:43:34.692Z","etag":null,"topics":["debug","flamegraph","php","profiling","remotedebug","trace","xdebug"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sokil.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}},"created_at":"2019-11-12T20:18:55.000Z","updated_at":"2022-06-01T18:58:10.000Z","dependencies_parsed_at":"2022-08-24T06:00:47.247Z","dependency_job_id":null,"html_url":"https://github.com/sokil/php-debug-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sokil%2Fphp-debug-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sokil%2Fphp-debug-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sokil%2Fphp-debug-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sokil%2Fphp-debug-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sokil","download_url":"https://codeload.github.com/sokil/php-debug-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246168097,"owners_count":20734389,"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":["debug","flamegraph","php","profiling","remotedebug","trace","xdebug"],"created_at":"2024-10-02T23:03:00.512Z","updated_at":"2025-03-29T09:42:20.173Z","avatar_url":"https://github.com/sokil.png","language":"Shell","readme":"# Debug utils for PHP\n\n## Remote debugging\n\nMey be usefull when code executed on remote server, and PHP runtime needs to connect to IDE on local machine, but\nremote server can not connect to local IDE directly.\n\nFirst forward remote port to local port, accessible by IDE:\n\n```\nssh -fN some-ssh-host -R 9000:127.0.0.1:9000\n```\n\nThen run script:\n\n```\n./debugRemote /path/to/some.php arg1 arg2\n```\n\n## Building flame graph\n\nMore info about flame graphs may be found in http://www.brendangregg.com/flamegraphs.html.\n\nRun scipt and pass path target to SVG file:\n\n```\n./flameGraph /path/to/flamegrapg.svf /path/to/some.php arg1 arg2\n```\n\nFlamegrapg will be stored at /path/to/flamegrapg.svf\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsokil%2Fphp-debug-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsokil%2Fphp-debug-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsokil%2Fphp-debug-utils/lists"}