{"id":20912256,"url":"https://github.com/fanmingming/myphp","last_synced_at":"2025-04-10T02:23:20.244Z","repository":{"id":159195274,"uuid":"634454733","full_name":"fanmingming/myphp","owner":"fanmingming","description":"30秒在Vercel构建自己的无服务器php环境并实现国内直连访问。","archived":false,"fork":false,"pushed_at":"2024-04-16T14:57:56.000Z","size":36,"stargazers_count":86,"open_issues_count":0,"forks_count":166,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-02T23:13:50.806Z","etag":null,"topics":["php","vercel"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":false,"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/fanmingming.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":"2023-04-30T07:05:08.000Z","updated_at":"2025-03-28T07:54:28.000Z","dependencies_parsed_at":"2024-02-23T15:26:13.780Z","dependency_job_id":"91b93ffd-4e46-4918-8e0c-76b59afb577f","html_url":"https://github.com/fanmingming/myphp","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/fanmingming%2Fmyphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fanmingming%2Fmyphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fanmingming%2Fmyphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fanmingming%2Fmyphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fanmingming","download_url":"https://codeload.github.com/fanmingming/myphp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248143333,"owners_count":21054760,"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","vercel"],"created_at":"2024-11-18T14:26:13.131Z","updated_at":"2025-04-10T02:23:20.216Z","avatar_url":"https://github.com/fanmingming.png","language":"HTML","readme":"# myphp\n30秒在Vercel构建自己的无服务器php环境并实现国内直连访问。\n### 操作步骤：\n- 准备好域名\n- 为域名添加一条CNAME到`cname-china.vercel-dns.com`\n- 点击下方按钮跳转并部署\n\n\u003ca href=\"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Ffanmingming%2Fmyphp\u0026project-name=MyPHP\u0026repository-name=MyPHP\"\u003e\u003cimg src=\"https://vercel.com/button\"\u003e\u003c/a\u003e\n- 找到Vercel项目的域名设置，改为你的域名保存\n- 访问你的域名\n\u003e 最后你可以：删除仓库的`README.md`，编辑或删除`index.html`。\n### 说明：\n- 这只是一个简单的示例，每次编辑或上传新的php文件到Github仓库的api目录下都会自动构建。构建完成后访问`你的域名/api/文件名.php`即可。\n### 主要目录文件结构：\n```sh\nmyphp\n├── api\n│   └── index.php\n└── vercel.json\n```\n### php版本：\n默认部署的php版本为8.3.X。编辑`vercel.json`文件可构建不同版本的php环境。\n- `vercel-php@0.7.1` - PHP 8.3.x\n- `vercel-php@0.6.2` - PHP 8.2.x\n- `vercel-php@0.5.5` - PHP 8.1.x\n- `vercel-php@0.4.4` - PHP 8.0.x\n- `vercel-php@0.3.6` - PHP 7.4.x\n### 官方仓库：\n- https://github.com/vercel-community/php/\n### 更新说明\n- 同步官方仓库，更新PHP版本。\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffanmingming%2Fmyphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffanmingming%2Fmyphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffanmingming%2Fmyphp/lists"}