{"id":18879731,"url":"https://github.com/loilo/php-arena","last_synced_at":"2025-04-14T19:30:21.480Z","repository":{"id":177719767,"uuid":"660807155","full_name":"loilo/php-arena","owner":"loilo","description":"🥊 A tiny playground for tinkering with PHP snippets in the browser","archived":false,"fork":false,"pushed_at":"2025-03-10T07:03:52.000Z","size":61445,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T07:51:10.929Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://loilo.github.io/php-arena/","language":"TypeScript","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/loilo.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-06-30T22:42:07.000Z","updated_at":"2025-03-10T07:03:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7d8b0a3-e423-4de2-9d0b-a1ef2ca7b8d9","html_url":"https://github.com/loilo/php-arena","commit_stats":null,"previous_names":["loilo/php-arena"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loilo%2Fphp-arena","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loilo%2Fphp-arena/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loilo%2Fphp-arena/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loilo%2Fphp-arena/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loilo","download_url":"https://codeload.github.com/loilo/php-arena/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248945624,"owners_count":21187363,"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":[],"created_at":"2024-11-08T06:39:05.262Z","updated_at":"2025-04-14T19:30:21.320Z","avatar_url":"https://github.com/loilo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"logo.png\" alt=\"The PHP Arena logo: a square boxing ring with a pale 'PHP' writing on the ground\" width=\"256\" height=\"256\"\u003e\n\n  \u003cbr\u003e\n\u003c/div\u003e\n\n# PHP Arena\n\n\u003e A tiny playground for tinkering with PHP snippets in the browser\n\nThis is the source code repository of PHP Arena. You can find the app at [loilo.github.io/php-arena](https://loilo.github.io/php-arena/).\n\n## Technologies\n\nThe core technologies this project uses are:\n\n\u003c!-- prettier-ignore --\u003e\nTechnology | Purpose\n-|-\n**[Codemirror](https://codemirror.net/)** | A text/code editor, used for the editing area itself.\n**[Nuxt](https://nuxt.com/)** | An application framework for Vue.js, used for prerendering, PWA support and overall application structure.\n**[`@php-wasm/web`](https://github.com/WordPress/wordpress-playground)** | WASM-compiled builds of the PHP interpreter, made by the WordPress team.\n**[`lz-string`](https://www.npmjs.com/package/lz-string)** | A quick and space-efficient compression algorithm, used for serializing the current app state into a shareable URL in as few characters as possible.\n**[GitHub Pages](https://pages.github.com/)** | This app does (purposefully) not generate any income. Therefore, free, scalable hosting is essential to keep it running.\n\n## Setup\n\nClone this repository and install its dependencies using [npm](https://npmjs.com/).\n\n```bash\nnpm ci\n```\n\n## Local Development\n\nStart a local dev server with hot reloading:\n\n```bash\nnpm run dev\n```\n\n## Generate Production Site\n\nCreate a production-ready site in the `dist` folder:\n\n```\nnpm run generate\n```\n\nSet the `BASE_URL` environment variable to create a build that can be hosted in a subfolder of a domain, e.g.:\n\n```\nBASE_URL=/php-arena/ npm run generate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floilo%2Fphp-arena","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floilo%2Fphp-arena","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floilo%2Fphp-arena/lists"}