Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nearata/flarum-ext-cloudflare
- Owner: Nearata
- License: unlicense
- Created: 2022-09-13T14:20:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T16:19:44.000Z (over 1 year ago)
- Last Synced: 2024-11-24T05:17:51.008Z (about 2 months ago)
- Topics: cloudflare, flarum, flarum-extension
- Language: PHP
- Homepage: https://packagist.org/packages/nearata/flarum-ext-cloudflare
- Size: 261 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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 filesystemfalse,
...
'disk_driver.flarum-assets' => 'r2',
'disk_driver.another-extension-filesystem' => 'r2'
);
```