{"id":16915836,"url":"https://github.com/tysonandre/phan-demo","last_synced_at":"2026-04-18T13:38:42.841Z","repository":{"id":75022511,"uuid":"147235439","full_name":"TysonAndre/phan-demo","owner":"TysonAndre","description":"Moved to https://github.com/phan/demo - Run phan entirely in your browser (with emscripten)","archived":false,"fork":false,"pushed_at":"2019-11-05T01:15:41.000Z","size":6219,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T18:31:09.663Z","etag":null,"topics":["phan","php"],"latest_commit_sha":null,"homepage":"https://phan.github.io/demo/","language":"C","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/TysonAndre.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}},"created_at":"2018-09-03T17:35:54.000Z","updated_at":"2019-11-03T20:51:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"289c8748-6661-43a5-aa0d-57acd1a00a5a","html_url":"https://github.com/TysonAndre/phan-demo","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/TysonAndre%2Fphan-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TysonAndre%2Fphan-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TysonAndre%2Fphan-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TysonAndre%2Fphan-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TysonAndre","download_url":"https://codeload.github.com/TysonAndre/phan-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244688651,"owners_count":20493855,"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":["phan","php"],"created_at":"2024-10-13T19:23:00.431Z","updated_at":"2026-04-18T13:38:42.805Z","avatar_url":"https://github.com/TysonAndre.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phan in Browser\n\n[Run Phan in your browser](https://phan.github.io/demo/) (Requires Firefox and at least 4GB of free RAM)].\n\n[![Preview of analyzing PHP](static/preview.png)](https://phan.github.io/demo/)\n[![Preview of running php](static/run.png)](https://phan.github.io/demo/)\n\n- This uses emscripten to allow analyzing (or running) PHP scripts entirely in your browser.\n\nPHP Version: 7.4.0RC5\n\n[Phan](https://github.com/phan/phan) Version: 2.4.1\n\nThis is based on [oraoto/pib](https://oraoto.github.io/pib/) (PHP In Browser)\n\n## Known issues\n\n+ [Fatal errors (e.g. duplicate classes) do not get reported.](https://github.com/phan/demo/issues/3)\n\n## Building From Source\n\n### Using Docker\n\nTODO: would these instructions work for phan-demo?\n\nThe quickest way to build PIB is by using Docker:\n\n```\ndocker run --rm -v $(pwd):/src trzeci/emscripten:sdk-incoming-64bit bash -c `apt-get update \u0026\u0026 apt-get install -y autoconf; build.sh`\n```\n\n### Setup Emscripten SDK (emsdk) manually\n\nSteps:\n\n1. Setup emsdk (\u003e= 1.39.1), see [Installation Instructions](https://github.com/juj/emsdk#installation-instructions)\n2. Run `bash build.sh` (Install `autoconf` if needed)\n\n## Running locally\n\nThis requires that a web server be running and serve static files.\n`python 3 -m http.server --bind 127.0.0.1 8080` (from the root directory of phan-demo) is one way to do this.\nThen, open http://localhost:8080/\n\n## Acknowledgements\n\nThis application is based on [PHP in Browser (oraoto/pib)](https://github.com/oraoto/pib).\n\nThe Web UI is based on [Rust Playground](https://play.rust-lang.org/).\nThis uses the [ace](https://ace.c9.io/) editor.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftysonandre%2Fphan-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftysonandre%2Fphan-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftysonandre%2Fphan-demo/lists"}