michallkanak/symfony-cloudflare-multi-view
Symfony bundle for Cloudflare multi-view setups: configure multiple views in one place and serve the right one per request. It streamlines Cloudflare integration with Symfony services and Twig, keeping view selection clean, configurable, and easy to maintain.
Primary job-to-be-done: an internal "portfolio traffic console." This package is a pre-built, password-protected dashboard that aggregates Cloudflare traffic across multiple domains and accounts, with real-time views plus daily/hourly trends and group-based organization. As a PM, the decisions it can inform are operational and portfolio-level, not customer-facing:
Build vs. buy posture: this is an accelerator, not a purchase. It is the visual layer of a feature you would otherwise ask an engineer to build in one to two weeks. The correct framing to engineering is "reference implementation and time-saver," not "dependency." Adopt it as a spike; expect to reimplement against Cloudflare's GraphQL Analytics API if the spike succeeds.
Roadmap placement: internal tooling only, off the critical path. It earns a slot in an internal-tooling or ops-efficiency line item — the kind of thing that pays back in analyst hours — and should never sit on a customer-facing roadmap. It does not support decisions requiring financial accuracy, security posture, or contractual uptime.
One decision it should force immediately: the package is a Symfony bundle, not a Laravel package, despite the "Laravel/PHP" framing. That is a product-level scope question — a Laravel team adopting this is signing up for a port, not an install. Surface that before anyone writes a ticket.
Consider it when most of these are true:
Look elsewhere (or reimplement) when any of these are true:
SECURITY.md, no CI signal, no release cadence, and one contributor across the repo's entire history.For executives (30 seconds): "We have dozens of domains across multiple Cloudflare accounts and no single view of how they're performing. This open-source project is a ready-made dashboard for exactly that — traffic by domain and country, hourly and daily trends, grouped by brand. It's free, MIT-licensed, and could save us one to two engineering weeks. Two caveats: it's built for a different framework than ours, so the real cost is a short integration spike, not an install; and it's maintained by a single developer at an early version, so we'd treat it as a template we could take in-house rather than a vendor. Ask: approve a 2–3 day spike, internal-only, behind a feature flag. No customer-facing commitment, no roadmap impact."
For engineering: "This is a Symfony bundle, not a Laravel package — no provider, no facade, no Blade. The value is in the Cloudflare client and the grouping/trend logic; the view layer is Twig and won't survive the trip. Spike goal is one question: is the Cloudflare data layer usable as plain PHP, or is it welded to Symfony services and Twig helpers? If yes, we consume the core and write our own controller and Blade view. If no, we reimplement against Cloudflare's GraphQL Analytics API using this as the spec — the feature list, the grouping model, and the trend granularity are all worth copying. Either way: pin exactly, wrap behind our own interface, scope the Cloudflare token to read-only analytics, and flag it off for anyone outside the ops group. Do not schedule this ahead of committed work — a 0.1.1 patch that fixes chart colours does not change anyone's priority."
How can I help you explore Laravel packages today?