Feature Request: Include ACME DNS modules (e.g. Cloudflare) in official Windows pre-built binaries
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Read the Windows release build workflow and how FrankenPHP packages Caddy modules. Compare the proposed default binary and separate asset options, including the Windows CGO and PHP DLL constraints described here. Done means choosing a supported packaging approach and providing Windows release binaries with the Cloudflare DNS module.
由索引模型根据 Issue 内容生成。
描述
Describe your feature request
Feature Description
Currently, using DNS-01 ACME challenges (such as github.com/caddy-dns/cloudflare for Let's Encrypt / ZeroSSL wildcard certificates or setups behind Cloudflare Proxy) with FrankenPHP requires building a custom binary with xcaddy.
While this is straightforward on Linux using multi-stage Docker builds, creating a custom build for Windows is significantly more complex due to CGO dependencies, MSVC/GCC cross-compilation environments, and PHP DLL linking requirements.
It would be extremely helpful to have official pre-built Windows binaries (frankenphp.exe) that natively include popular Caddy DNS provider modules (or at least github.com/caddy-dns/cloudflare).
Use Case
- Windows Native Deployments / Development: Running FrankenPHP directly on Windows servers or local environments without forcing a Docker/WSL2 layer.
- Wildcard TLS Certificates on Windows: Obtaining
*.domain.comcertificates requires the DNS-01 challenge, which is impossible natively on Windows without rebuilding Caddy/FrankenPHP. - Environments Behind Cloudflare Proxy / Internal Networks: Obtaining certificates when HTTP-01 challenges (port 80/443) are restricted or routed through Cloudflare.
Proposed Solution
- Option A (Default Binaries): Embed
github.com/caddy-dns/cloudflare(and potentially other common providers like Route53, DigitalOcean, Hetzner) directly into the official GitHub Release assets for Windows. - Option B (Separate Windows Asset): Provide a dedicated release binary asset (e.g.,
frankenphp-windows-x86_64-cloudflare.exeorfrankenphp-windows-x86_64-with-dns.exe).
Additional Context
- Cloudflare DNS module reference: https://caddyserver.com/docs/modules/dns.providers.cloudflare (
github.com/caddy-dns/cloudflare) - Since cross-compiling or building custom CGO/Go binaries on Windows is a major pain point for developers compared to Linux, providing pre-built Windows executables with DNS support would greatly improve the DX on Windows.
Thank you for your work on FrankenPHP!
- 主要语言
- Go
- 星标
- 11.4k
- 派生
- 494
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 25
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
php/frankenphp 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
php/frankenphp#2671 · 1 条评论 ·
维护者通常 1 天内回复
-
Include frankenphp version in logs可能已有人在做 @ousamabenyounes 于 91 天前认领。 未关闭enhancement
难度 2/5 1-3 小时 新手友好度 68/100
php/frankenphp#2483 · 3 条评论 ·
维护者通常 1 天内回复
-
suggestion about compile.md可能重新可做 关联的 PR 已关闭且未合并。 未关闭enhancement
难度 1/5 1-3 小时 新手友好度 68/100
php/frankenphp#601 · 5 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
php/frankenphp#2732 · 9 条评论 · 17 个 reaction ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
php/frankenphp#2730 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
grafana/tempo-operator#1691 ·
维护者通常 1 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
hashicorp/terraform-mcp-server#583 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
-
backend bug low-priority
难度 2/5 1-3 小时 新手友好度 78/100
lognorman20/monaco#6225 ·