Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nearata/flarum-ext-cloudflare


https://github.com/nearata/flarum-ext-cloudflare

cloudflare flarum flarum-extension

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Cloudflare

[![license](https://img.shields.io/github/license/Nearata/flarum-ext-cloudflare?style=flat)](https://github.com/Nearata/flarum-ext-cloudflare/blob/main/UNLICENSE)
[![packagist](https://img.shields.io/packagist/v/nearata/flarum-ext-cloudflare?style=flat)](https://packagist.org/packages/nearata/flarum-ext-cloudflare)
[![changelog](https://img.shields.io/github/release-date/nearata/flarum-ext-cloudflare?label=last%20release%20date)](https://github.com/Nearata/flarum-ext-cloudflare/blob/main/CHANGELOG.md)

> Cloudflare integration.

## Screenshots

See the [screenshots](screenshots) subfolder.

## Install

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

## Update

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

## Remove

Disable the extension, click purge then execute:

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

## How to use R2 driver

You can try to follow this guide [here](https://docs.flarum.org/extend/filesystem/#gui-and-admin-configuration)

or you can add this to your local `config.php`

```config
# Adding driver to Flarum Assets filesystem

false,
...
'disk_driver.flarum-assets' => 'r2',
'disk_driver.another-extension-filesystem' => 'r2'
);
```