nearata / flarum-ext-cloudflare
Cloudflare integration.
Installs: 454
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- php: ^8.0
- flarum/core: ^1.7
- illuminate/http: ^8.0
- league/flysystem-aws-s3-v3: ^1.0
Requires (Dev)
- laravel/pint: ^1.5.0
README
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'
);