{"id":20790638,"url":"https://github.com/liburdi/hiphp","last_synced_at":"2026-06-07T09:32:33.353Z","repository":{"id":57005612,"uuid":"141888501","full_name":"liburdi/hiphp","owner":"liburdi","description":"100行代码学会PHP实现web框架的原理 |  Learn the principles of building a web framework with just 100 lines of PHP code.","archived":false,"fork":false,"pushed_at":"2023-11-21T06:19:28.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-31T11:17:11.423Z","etag":null,"topics":["php","php-framework"],"latest_commit_sha":null,"homepage":"","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/liburdi.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}},"created_at":"2018-07-22T11:05:37.000Z","updated_at":"2024-10-24T02:59:18.000Z","dependencies_parsed_at":"2023-11-21T07:28:03.286Z","dependency_job_id":"20f58c2e-7725-4163-817a-5a0e5211f240","html_url":"https://github.com/liburdi/hiphp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/liburdi/hiphp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liburdi%2Fhiphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liburdi%2Fhiphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liburdi%2Fhiphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liburdi%2Fhiphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liburdi","download_url":"https://codeload.github.com/liburdi/hiphp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liburdi%2Fhiphp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27761219,"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","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","php-framework"],"created_at":"2024-11-17T15:36:16.225Z","updated_at":"2025-12-16T08:03:24.165Z","avatar_url":"https://github.com/liburdi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### 用途\n\n- 了解框架的实现\n\n\n### 安装\n\u003e HiPHP1.0的运行环境要求PHP7.1+。\n~~~\ncomposer create-project liburdi/hiphp hp\n~~~\n\n* 指定版本安装\n~~~\ncomposer create-project liburdi/hiphp=v1.0.0 hp\n~~~\n\n* nginx\n~~~\nserver{\n        listen       80;\n        server_name localhost;\n        index index.html index.php;\n        default_type text/html;\n        charset utf-8;\n        root /wwwroot/hiphp;\n        client_max_body_size 256m;\n        location / {\n           try_files $uri @rewrite;\n         }\n        location @rewrite {\n           set $static 0;\n           if  ($uri ~ \\.(css|js|jpg|jpeg|png|gif|ico|woff|eot|svg|css\\.map|min\\.map)$) {\n                 set $static 1;\n           }\n           if ($static = 0) {\n                 rewrite ^/(.*)$ /index.php?s=/$1;\n           }\n\n        }\n        location ~ .php$ {\n         fastcgi_pass   127.0.0.1:9000;\n         fastcgi_index  index.php;\n         fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;\n         include        fastcgi_params;\n        }\n\n}\n\n\n~~~\n* 访问127.0.0.1\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliburdi%2Fhiphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliburdi%2Fhiphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliburdi%2Fhiphp/lists"}