Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Feature Request: Include ACME DNS modules (e.g. Cloudflare) in official Windows pre-built binaries

未关闭
#2,731 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
github, go, php
领域
devops, release

调研方向

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 内容生成。

描述

enhancement
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.com certificates 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
  1. 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.
  2. Option B (Separate Windows Asset): Provide a dedicated release binary asset (e.g., frankenphp-windows-x86_64-cloudflare.exe or frankenphp-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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

php/frankenphp 的其他 Issue

查看 php/frankenphp 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。