Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Wn Cloudflare Plugin Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Go/no-go on putting Cloudflare in front of a Winter CMS property. Adopting this plugin is a cheap way to de-risk the single biggest operational side effect of CDN proxying: every request arriving from a Cloudflare edge IP instead of the real visitor. That one detail silently breaks rate limiting, bot detection, fraud checks, audit logs, and analytics segmentation — all of which are product-visible, not just infra.
  • Build vs. buy for proxy plumbing. The alternative is hand-rolling trusted-proxy middleware and 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."
  • Prioritizing IP-dependent roadmap items. If the roadmap includes geo-targeted content, per-region pricing, abuse throttling, or GDPR-correct IP retention, accurate client IP resolution is a prerequisite. This package turns that prerequisite from an open engineering question into a checkbox.
  • Incident triage and support-cost reduction. Redirect loops, "insecure cookie" warnings, and mixed-content asset URLs behind TLS-terminating proxies are recurring support tickets. Standardizing on this plugin removes a known ticket class rather than re-diagnosing it per site.
  • Multi-site / agency portfolio decisions. For teams running several Winter CMS properties, a shared, versioned plugin is a governance lever — one audited configuration instead of N bespoke ones.

When to Consider This Package

Adopt when all of the following hold:

  • You run Winter CMS (not October CMS, not vanilla Laravel — the trusted-proxy solution differs).
  • Cloudflare is in proxied (orange-cloud) mode, not DNS-only.
  • You are seeing or expect the classic symptoms: logs full of Cloudflare IPs, incorrect HTTPS/secure-cookie detection, redirect loops, or wrong REMOTE_ADDR in application logic.
  • You want the fix to be declarative and upgradeable rather than a config patch someone will overwrite.

Look elsewhere — or just write ten lines of config — when:

  • Cloudflare is DNS-only, or TLS terminates at your own load balancer that already sets X-Forwarded-For correctly. Stacking proxy trust layers is how you get spoofable client IPs.
  • You need actual Cloudflare API integration (cache purge on publish, image resizing, WAF rule management). This plugin is not that; it is proxy compatibility only.
  • Adoption risk is a real concern here: 4 stars, 0 dependents, and a single-maintainer profile. Treat it as a small, auditable piece of code you can vendor or fork if maintenance lapses — not as a strategic dependency. Given the surface area is tiny, the fork cost is genuinely low, which is what makes it acceptable at all.
  • You are not on Winter CMS. Nothing here transfers.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package