Download the PHP package michallkanak/symfony-cloudflare-multi-view without Composer

On this page you can find all versions of the php package michallkanak/symfony-cloudflare-multi-view. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package symfony-cloudflare-multi-view

Symfony Cloudflare Multi-View Bundle

Tests PHPStan Code Style Packagist Version Symfony Version PHP Version

Symfony bundle for monitoring and visualizing traffic across multiple Cloudflare domains and accounts. It provides a beautiful, password-protected dashboard with real-time analytics, daily/hourly trends, and group-based organization.

Dashboard Preview

Secure Login

Features

Installation

  1. Install via composer:

  2. Register the bundle in config/bundles.php:

Configuration

1. Main Configuration

Create config/packages/cf_multi_view.yaml:

Each account.name becomes the group label on the dashboard. Domains are automatically assigned to their account group.

2. Routing

Create config/routes/cf_multi_view.yaml:

If you have admin panel in your symfony application, you can add this route to your admin panel routes.

Usage & Commands

1. Domain Discovery

Pull domains from all configured Cloudflare accounts:

This command populates the database and assigns each domain to its account group.

2. Synchronizing Statistics

Options for sync-stats:

Option Description Default
--period Data granularity: 1m (Enterprise), 1h, 1d 1h
--start Start of the range -25 hours
--end End of the range now
--with-countries Fetch Top 3 country breakdown off
--account Sync only a specific account all

Recommended CRON:

3. Data Cleanup

Delete old statistics:

Delete an entire account and all its data:

Requirements

Translations

The bundle supports multiple languages out of the box for both the dashboard and CLI commands:

Language Code
English en
Polish pl
French fr
German de
Spanish es
Italian it
Czech cs
Swedish sv

Security

The dashboard is protected by a password defined in your configuration. By default, the bundle includes:

Advanced IP Protection (Optional)

If you require IP-level protection (e.g., blocking an IP address after 5 failed attempts), we recommend using the standard Symfony rate-limiter component in your main application and targeting the cf_multi_view_login route.

Contributing

Contributions are welcome! Please read the contributing guide CONTRIBUTING.md for details about our code of conduct, and the process for submitting pull requests to us.

Credits

Created by Michał Kanak

License

MIT


All versions of symfony-cloudflare-multi-view with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
symfony/config Version ^5.4|^6.0|^7.0
symfony/console Version ^5.4|^6.0|^7.0
symfony/dependency-injection Version ^5.4|^6.0|^7.0
symfony/http-kernel Version ^5.4|^6.0|^7.0
symfony/http-client Version ^5.4|^6.0|^7.0
doctrine/orm Version ^2.14|^3.0
symfony/cache Version ^5.4|^6.0|^7.0
symfony/routing Version ^5.4|^6.0|^7.0
symfony/twig-bundle Version ^5.4|^6.0|^7.0
symfony/property-access Version ^5.4|^6.0|^7.0
symfony/security-csrf Version ^5.4|^6.0|^7.0
symfony/translation Version ^5.4|^6.0|^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package michallkanak/symfony-cloudflare-multi-view contains the following files

Loading the files please wait ...