Skip to content

Nearata/flarum-ext-cloudflare

Repository files navigation

Cloudflare

license packagist changelog

Cloudflare integration.

Screenshots

See the screenshots subfolder.

Install

composer require nearata/flarum-ext-cloudflare:"*"

Update

composer update nearata/flarum-ext-cloudflare:"*"
php flarum cache:clear

Remove

Disable the extension, click purge then execute:

composer remove nearata/flarum-ext-cloudflare
php flarum cache:clear

How to use R2 driver

You can try to follow this guide here

or you can add this to your local config.php

# Adding driver to Flarum Assets filesystem

<?php return array (
  'debug' => false,
  ...
  'disk_driver.flarum-assets' => 'r2',
  'disk_driver.another-extension-filesystem' => 'r2'
);