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
Symfony Cloudflare Multi View

Symfony Cloudflare Multi View Laravel Package

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.

View on GitHub
Deep Wiki
Context7

A Symfony bundle that integrates Cloudflare Multi-View into Symfony applications. It provides a reusable service/configuration layer for working with multiple Cloudflare views from one app, keeping setup centralized and avoiding scattered integration code.

  • Symfony-native integration via bundle configuration and the service container.
  • Multiple views managed through a single, centralized setup.
  • Autowirable services for clean injection into controllers and services.
  • Configurable options for adapting credentials and behavior per environment.
  • Extensible structure for custom Cloudflare workflows.
Frequently asked questions about Symfony Cloudflare Multi View
Can I install michallkanak/symfony-cloudflare-multi-view in a Laravel application?
Not as a drop-in package. It is a Symfony bundle, so it depends on bundle registration, DI Extension and Configuration loading, tagged services, and most likely Twig plus Symfony asset conventions, none of which Laravel's container resolves on its own. You can require it for any plain-PHP Cloudflare client code it ships, but you would still need to write your own service provider, routes, and Blade views. Treat the Laravel compatibility claim as unverified until you spike it.
What does the Cloudflare Multi-View dashboard actually show?
It gives you a password-protected dashboard that visualizes traffic across multiple Cloudflare domains and accounts. The views include real-time analytics, daily and hourly trend charts, and group-based organization so domains can be bucketed together. Country-level series are part of the geographic view, which is what the 0.1.1 release fixed colors for.
How do I install and configure symfony-cloudflare-multi-view in a Symfony app?
Install it with Composer and register the bundle in your bundles.php, then supply Cloudflare credentials plus your domain and account groupings through the bundle configuration. The exact keys and dashboard password option are defined by the bundle's Configuration class, so read the repository config before wiring it up. Check composer.json for the PHP and Symfony version constraints and confirm they overlap with your runtime before committing.
Which Cloudflare API token permissions does Cloudflare Multi-View need?
The release notes do not document token scopes, so verify this before deployment. A read-only analytics token scoped to the zones you want to visualize should be enough for a monitoring dashboard, and that is the low-risk approval path. Do not grant zone-edit or DNS permissions unless you find a concrete reason in the source.
Does this bundle cache Cloudflare API responses?
There is no documented caching layer in the 0.1.x releases, so assume analytics calls may hit the Cloudflare API per request until you read the service wiring. Uncached per-request calls across many zones are a rate-limit incident waiting to happen. If you adopt it, put a cache decorator around the client or schedule a warm-up job before exposing the dashboard.
Is symfony-cloudflare-multi-view production-ready and actively maintained?
It is early-stage: version 0.1.x, no stated backward compatibility policy, and the 0.1.1 release is a single cosmetic color fix authored by the maintainer. There is no visible external adoption, CI, or test suite, so the bus factor is one. Pin the exact version, vendor the source, and expect a fork rather than upstream fixes.
Can it monitor multiple Cloudflare accounts and domains in one place?
Yes, multi-account and multi-domain monitoring is the core purpose of the package, and groups let you organize zones by client, brand, or environment. Each group is rendered as its own set of analytics views inside the single dashboard. That aggregation is the main reason to consider it over Cloudflare's own per-zone dashboard.
How is the Cloudflare Multi-View dashboard secured?
The dashboard itself is password protected by the bundle, which is a basic gate rather than full application authentication. Put it behind your framework's auth middleware or an IP allowlist, force HTTPS, and keep the credentials in environment variables. Never expose the route publicly without a second layer, since the views reveal traffic data for every connected account.
Can I replace the Twig templates with Blade instead of forking?
No, not without code changes. Laravel ships no Twig renderer, and the view layer is where the 0.1.1 fix landed, which makes it the least portable part of the bundle. View parity means rewriting the templates in Blade and replacing Symfony asset helpers, which effectively means vendoring the package.
What is the best way to get this Cloudflare dashboard in a Laravel app?
Start with a short spike that answers whether a framework-agnostic core exists: a plain PHP or PSR-18 Cloudflare client with DTOs you can consume directly. If it does, depend on the package and ignore the Symfony wiring, then build your own controller, routes, and Blade views. If the Cloudflare calls are baked into Symfony services and Twig helpers, reimplementing against Cloudflare's analytics API with a JavaScript charting library usually has the lowest total ownership cost at 0.1.x maturity.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource