{"id":13470545,"url":"https://github.com/dunglas/frankenphp","last_synced_at":"2026-01-12T00:01:10.783Z","repository":{"id":61434582,"uuid":"473949053","full_name":"dunglas/frankenphp","owner":"dunglas","description":"🧟 The modern PHP app server","archived":false,"fork":false,"pushed_at":"2025-05-05T14:14:19.000Z","size":3903,"stargazers_count":7745,"open_issues_count":162,"forks_count":304,"subscribers_count":70,"default_branch":"main","last_synced_at":"2025-05-07T20:29:03.449Z","etag":null,"topics":["caddy","frankenphp","go","php","sapi","worker"],"latest_commit_sha":null,"homepage":"https://frankenphp.dev","language":"Go","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/dunglas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"dunglas"}},"created_at":"2022-03-25T09:37:54.000Z","updated_at":"2025-05-07T06:35:13.000Z","dependencies_parsed_at":"2023-11-29T15:47:36.053Z","dependency_job_id":"817004b6-7adc-4b04-a0e0-22cd2b1c6193","html_url":"https://github.com/dunglas/frankenphp","commit_stats":{"total_commits":439,"total_committers":69,"mean_commits":6.36231884057971,"dds":0.2801822323462415,"last_synced_commit":"0b4a427cac1da044518ada44345bbafd98a0bc04"},"previous_names":[],"tags_count":68,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunglas%2Ffrankenphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunglas%2Ffrankenphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunglas%2Ffrankenphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunglas%2Ffrankenphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dunglas","download_url":"https://codeload.github.com/dunglas/frankenphp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227603,"owners_count":22035667,"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":["caddy","frankenphp","go","php","sapi","worker"],"created_at":"2024-07-31T16:00:31.860Z","updated_at":"2025-05-14T21:02:01.039Z","avatar_url":"https://github.com/dunglas.png","language":"Go","readme":"# FrankenPHP: Modern App Server for PHP\n\n\u003ch1 align=\"center\"\u003e\u003ca href=\"https://frankenphp.dev\"\u003e\u003cimg src=\"frankenphp.png\" alt=\"FrankenPHP\" width=\"600\"\u003e\u003c/a\u003e\u003c/h1\u003e\n\nFrankenPHP is a modern application server for PHP built on top of the [Caddy](https://caddyserver.com/) web server.\n\nFrankenPHP gives superpowers to your PHP apps thanks to its stunning features: [_Early Hints_](https://frankenphp.dev/docs/early-hints/), [worker mode](https://frankenphp.dev/docs/worker/), [real-time capabilities](https://frankenphp.dev/docs/mercure/), automatic HTTPS, HTTP/2, and HTTP/3 support...\n\nFrankenPHP works with any PHP app and makes your Laravel and Symfony projects faster than ever thanks to their official integrations with the worker mode.\n\nFrankenPHP can also be used as a standalone Go library to embed PHP in any app using `net/http`.\n\n[**Learn more** on _frankenphp.dev_](https://frankenphp.dev) and in this slide deck:\n\n\u003ca href=\"https://dunglas.dev/2022/10/frankenphp-the-modern-php-app-server-written-in-go/\"\u003e\u003cimg src=\"https://dunglas.dev/wp-content/uploads/2022/10/frankenphp.png\" alt=\"Slides\" width=\"600\"\u003e\u003c/a\u003e\n\n## Getting Started\n\n### Standalone Binary\n\nWe provide static FrankenPHP binaries for Linux and macOS\ncontaining [PHP 8.4](https://www.php.net/releases/8.4/en.php) and most popular PHP extensions.\n\nOn Windows, use [WSL](https://learn.microsoft.com/windows/wsl/) to run FrankenPHP.\n\n[Download FrankenPHP](https://github.com/dunglas/frankenphp/releases) or copy this line into your\nterminal to automatically install the version appropriate for your platform:\n\n```console\ncurl https://frankenphp.dev/install.sh | sh\nmv frankenphp /usr/local/bin/\n```\n\nTo serve the content of the current directory, run:\n\n```console\nfrankenphp php-server\n```\n\nYou can also run command-line scripts with:\n\n```console\nfrankenphp php-cli /path/to/your/script.php\n```\n\n\u003e [!WARNING]\n\u003e\n\u003e In production, prefer using [the Docker images](#docker), [the Brew package](#homebrew)\n\u003e or [compiling FrankenPHP from sources](https://frankenphp.dev/docs/compile/).\n\u003e The standalone binary is provided for development and testing purposes.\n\n### Docker\n\nAlternatively, [Docker images](https://frankenphp.dev/docs/docker/) are available:\n\n```console\ndocker run -v .:/app/public \\\n    -p 80:80 -p 443:443 -p 443:443/udp \\\n    dunglas/frankenphp\n```\n\nGo to `https://localhost`, and enjoy!\n\n\u003e [!TIP]\n\u003e\n\u003e Do not attempt to use `https://127.0.0.1`. Use `https://localhost` and accept the self-signed certificate.\n\u003e Use the [`SERVER_NAME` environment variable](docs/config.md#environment-variables) to change the domain to use.\n\n### Homebrew\n\nFrankenPHP is also available as a [Homebrew](https://brew.sh) package for macOS and Linux.\n\nTo install it:\n\n```console\nbrew install dunglas/frankenphp/frankenphp\n```\n\nTo serve the content of the current directory, run:\n\n```console\nfrankenphp php-server\n```\n\n## Docs\n\n- [Classic mode](https://frankenphp.dev/docs/classic/)\n- [Worker mode](https://frankenphp.dev/docs/worker/)\n- [Early Hints support (103 HTTP status code)](https://frankenphp.dev/docs/early-hints/)\n- [Real-time](https://frankenphp.dev/docs/mercure/)\n- [Efficiently Serving Large Static Files](https://frankenphp.dev/docs/x-sendfile/)\n- [Configuration](https://frankenphp.dev/docs/config/)\n- [Docker images](https://frankenphp.dev/docs/docker/)\n- [Deploy in production](https://frankenphp.dev/docs/production/)\n- [Performance optimization](https://frankenphp.dev/docs/performance/)\n- [Create **standalone**, self-executable PHP apps](https://frankenphp.dev/docs/embed/)\n- [Create static binaries](https://frankenphp.dev/docs/static/)\n- [Compile from sources](https://frankenphp.dev/docs/compile/)\n- [Monitoring FrankenPHP](https://frankenphp.dev/docs/metrics/)\n- [Laravel integration](https://frankenphp.dev/docs/laravel/)\n- [Known issues](https://frankenphp.dev/docs/known-issues/)\n- [Demo app (Symfony) and benchmarks](https://github.com/dunglas/frankenphp-demo)\n- [Go library documentation](https://pkg.go.dev/github.com/dunglas/frankenphp)\n- [Contributing and debugging](https://frankenphp.dev/docs/contributing/)\n\n## Examples and Skeletons\n\n- [Symfony](https://github.com/dunglas/symfony-docker)\n- [API Platform](https://api-platform.com/docs/symfony)\n- [Laravel](https://frankenphp.dev/docs/laravel/)\n- [Sulu](https://sulu.io/blog/running-sulu-with-frankenphp)\n- [WordPress](https://github.com/StephenMiracle/frankenwp)\n- [Drupal](https://github.com/dunglas/frankenphp-drupal)\n- [Joomla](https://github.com/alexandreelise/frankenphp-joomla)\n- [TYPO3](https://github.com/ochorocho/franken-typo3)\n- [Magento2](https://github.com/ekino/frankenphp-magento2)\n","funding_links":["https://github.com/sponsors/dunglas"],"categories":["Go","开源类库","Embeddable Scripting Languages","Open source library","武器库","Repositories","可嵌入的脚本语言"],"sub_categories":["网络","Search and Analytic Databases","The Internet","后端","检索及分析资料库"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunglas%2Ffrankenphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdunglas%2Ffrankenphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunglas%2Ffrankenphp/lists"}