{"id":25309006,"url":"https://github.com/arvl130/php-on-vercel","last_synced_at":"2025-09-03T14:42:32.369Z","repository":{"id":167574116,"uuid":"631007119","full_name":"arvl130/php-on-vercel","owner":"arvl130","description":"Repository for testing if PHP websites with traditional file-based routing can be hosted on Vercel ▴","archived":false,"fork":false,"pushed_at":"2023-05-20T12:15:53.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T12:54:06.755Z","etag":null,"topics":["php","runtime","serverless","vercel"],"latest_commit_sha":null,"homepage":"https://php-on-vercel.ageulin.com","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/arvl130.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-21T17:20:20.000Z","updated_at":"2023-07-31T05:31:55.000Z","dependencies_parsed_at":"2023-05-23T03:30:41.038Z","dependency_job_id":null,"html_url":"https://github.com/arvl130/php-on-vercel","commit_stats":null,"previous_names":["arvl130/php-on-vercel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arvl130%2Fphp-on-vercel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arvl130%2Fphp-on-vercel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arvl130%2Fphp-on-vercel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arvl130%2Fphp-on-vercel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arvl130","download_url":"https://codeload.github.com/arvl130/php-on-vercel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247631812,"owners_count":20970064,"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","runtime","serverless","vercel"],"created_at":"2025-02-13T12:51:59.542Z","updated_at":"2025-04-07T10:03:57.178Z","avatar_url":"https://github.com/arvl130.png","language":"PHP","readme":"# PHP on Vercel ▴\n\nThis is a repository I've created to test if we can get traditional PHP file-based\nrouting working on the [community Vercel Functions PHP runtime](https://github.com/vercel-community/php).\n\nSee instructions below on how.\n\n# Instructions\n\n1. Create a directory `api` and place all your PHP files in there.\n\n2. Create a file called `vercel.json` at the root of your project folder with the following content:\n\n```json\n{\n  \"functions\": {\n    \"api/*.php\": {\n      \"runtime\": \"vercel-php@0.6.0\"\n    }\n  },\n  \"routes\": [{ \"src\": \"/(.*)\", \"dest\": \"/api/$1\" }]\n}\n```\n\nNote the example given here uses version 0.6.0 of the runtime which corresponds to PHP 8.2.x,\nbut other versions may also be used.\n\n3. Push to GitHub and create your project on Vercel.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farvl130%2Fphp-on-vercel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farvl130%2Fphp-on-vercel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farvl130%2Fphp-on-vercel/lists"}