{"id":23969596,"url":"https://github.com/jiab77/simple-php-webserver","last_synced_at":"2025-04-23T14:15:31.398Z","repository":{"id":87588370,"uuid":"597576728","full_name":"Jiab77/simple-php-webserver","owner":"Jiab77","description":"Simple PHP WebServer running from a single file","archived":false,"fork":false,"pushed_at":"2023-02-28T02:08:34.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T14:15:21.672Z","etag":null,"topics":["php","simple","webserver"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Jiab77.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":"2023-02-05T00:26:08.000Z","updated_at":"2023-02-28T03:27:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"dba65ed5-8f7a-480a-8b19-4508e7ea1782","html_url":"https://github.com/Jiab77/simple-php-webserver","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/Jiab77%2Fsimple-php-webserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiab77%2Fsimple-php-webserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiab77%2Fsimple-php-webserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiab77%2Fsimple-php-webserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jiab77","download_url":"https://codeload.github.com/Jiab77/simple-php-webserver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250447979,"owners_count":21432165,"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":["php","simple","webserver"],"created_at":"2025-01-07T01:00:58.702Z","updated_at":"2025-04-23T14:15:31.385Z","avatar_url":"https://github.com/Jiab77.png","language":"HTML","readme":"# Simple PHP WebServer\n\nSimple PHP WebServer running from a single file\n\n## Usage\n\n### Linux\n\nSimply run it with:\n\n```console\n$ php server.php\n```\n\nOr\n\n```console\n$ ./server.php\n```\n\nAnd it will use hardcoded port and hostname. To define something else, simply use the following arguments:\n\n```console\n$ ./server.php [interface:port] [document_root]\n```\n\n### MacOS\n\nSimply run it with:\n\n```console\n$ php server.mac.php\n```\n\nOr\n\n```console\n$ ./server.mac.php\n```\n\nAnd it will use hardcoded port and hostname. To define something else, simply use the following arguments:\n\n```console\n$ ./server.mac.php [interface:port] [document_root]\n```\n\n\u003e Thanks to [@staatzstreich](https://github.com/staatzstreich) for this part!\n\n## Contributors\n\n\u003ctable\u003e\n    \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003cstrong\u003eNickname\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cstrong\u003eContribution\u003c/strong\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/staatzstreich\" target=\"_blank\"\u003e@staatzstreich\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003eFor the MacOS version of the script.\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n## Author\n\n* [@Jiab77](https://github.com/Jiab77)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiab77%2Fsimple-php-webserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiab77%2Fsimple-php-webserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiab77%2Fsimple-php-webserver/lists"}