winter/wn-cloudflare-plugin
Winter CMS plugin that integrates Cloudflare with your site, providing cache purging, proxy and DNS management, and related Cloudflare settings from the Winter backend. Simplifies keeping cached content fresh and managing Cloudflare features alongside your CMS configuration.
X-Forwarded-* handling in each Winter CMS install. This is a small MIT-licensed plugin that centralizes that glue; the decision is "take a dependency" vs. "own config drift forever."Adopt when all of the following hold:
REMOTE_ADDR in application logic.Look elsewhere — or just write ten lines of config — when:
X-Forwarded-For correctly. Stacking proxy trust layers is how you get spoofable client IPs.To executives: This is a small, free, MIT-licensed component that removes a specific and recurring class of production bugs that appear whenever we put Cloudflare in front of a Winter CMS site — broken rate limiting, wrong visitor IPs in analytics, and login/session issues caused by TLS termination at the edge. It costs nothing, it is small enough to audit in an afternoon, and it converts a per-site engineering problem into a standard dependency. The risk is maintenance: it has minimal community traction, so we should plan to vendor it.
To engineering: It handles trusted-proxy and forwarded-header configuration for Winter CMS behind Cloudflare so we stop reimplementing it per project. It is intentionally narrow — proxy compatibility only, no Cloudflare API calls. Review the source before adopting, pin the version, and be prepared to fork; the codebase is small enough that forking is a reasonable default posture rather than a contingency.
How can I help you explore Laravel packages today?