{"id":22152353,"url":"https://github.com/tigitz/franken-php-spx","last_synced_at":"2025-10-12T14:31:12.485Z","repository":{"id":263652366,"uuid":"891070608","full_name":"tigitz/franken-php-spx","owner":"tigitz","description":"Demonstrates the issue with SPX UI not showing up in FrankenPHP.","archived":false,"fork":false,"pushed_at":"2024-11-24T19:49:49.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T21:57:27.667Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tigitz.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-19T17:12:23.000Z","updated_at":"2024-12-01T15:17:01.000Z","dependencies_parsed_at":"2024-11-19T18:26:49.450Z","dependency_job_id":"cf5926d1-de28-4faa-ab46-f088b81497e3","html_url":"https://github.com/tigitz/franken-php-spx","commit_stats":null,"previous_names":["tigitz/franken-php-spx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigitz%2Ffranken-php-spx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigitz%2Ffranken-php-spx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigitz%2Ffranken-php-spx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigitz%2Ffranken-php-spx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tigitz","download_url":"https://codeload.github.com/tigitz/franken-php-spx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236232520,"owners_count":19116177,"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-12-02T00:50:37.014Z","updated_at":"2025-10-12T14:31:07.210Z","avatar_url":"https://github.com/tigitz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FrankenPHP \u0026 SPX integration\n\nThis repository provides a Docker-based infrastructure which can help to reproduce or debug issues related to the integration of FrankenPHP with SPX.\n\n## Setup\n\nFirst make sure that you have a clone of php-spx located at this relative path `../php-spx`.\n\nThen run the following command to build the image:\n\n```bash\n./build.sh\n```\n\nAnd then run FrankenPHP:\n\n```bash\ndocker run --rm -v $PWD:/app/public -p 8501:80 -p 8500:443 -p 8500:443/udp --cap-add=SYS_PTRACE --tty --name frankenphp-spx frankenphp-spx\n\u003e c (continue) / bt (backtrace)\n```\n\n## Starting a debugging session\n\nRun the follwowing command to attach GDB to the FrankendPHP process (frankenphp-spx's PID1):\n\n```bash\ndocker exec -it frankenphp-spx gdb -p 1\n```\n\nThen, in GDB's prompt, you will be able to enter commands such as `c` (continue) or `bt` (stack's backtrace).\n\n## Testing SPX Web Interface\n\nRun `composer update` to install dependencies:\n\n```bash\ndocker exec frankenphp-spx bash -c  'cd public ; composer update'\n```\n\nThen you can access to SPX's web UI here https://localhost:8500/?SPX_KEY=dev\u0026SPX_UI_URI=/\n\n## Testing CLI Interface (Working)\n\nRun CLI test:\n\n```bash\ndocker exec -e SPX_ENABLED=1 -ti CONTAINER_ID php public/cli.php\n```\n\nYou should see SPX profiling output in the terminal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftigitz%2Ffranken-php-spx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftigitz%2Ffranken-php-spx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftigitz%2Ffranken-php-spx/lists"}